Page 1 of 1

BASICtools general questions

Posted: Wed Oct 24, 2012 3:03 pm
by YahooArchive
> 4. I don't see any way of listing the program once it is in the
> system. I guess once it moves from the input buffer it is converted
> to machine code and is not available on a symbolic level. I assume
> the best thing to do is just work with the text editor image of the
> program and reload it as the program grows. The memory dump looks
> like it will only be useful in tables and ASCII data.
Once the text is loaded, the source is not stored on the ARMexpress.
The next TclTerm will capture your typing be able to save it to a
file. Admittedly the dump @ is not too useful without a memory map,
and that will be addressed. We used the @ to debug the ARMbasic and
left it in, as it will be used by TclTerm to query memory.

BASICtools now has a LIST command when you are entering programs line by line, you can then cut and paste that into a text editor

> 5. Is there anyway to determine how much program room is left and
> any given time? Some type of available memory function?

Currently no, but this is a function we have on the BASIC-8 products,
so we will add this in some future release.

The latest compiler reports space used and available for BASIC programs

Re: BASICtools general questions

Posted: Thu Oct 25, 2012 12:06 am
by YahooArchive
> What exactly does the Throttle menu option facilitate?

it was added and left in for a while to diagnose a possible handshake
problem, eliminated in version 1.6

> What is the purpose of the Char Mode menu option?

char mode sends each character as typed, otherwise a line is buffered
before being sent (it should be left in line mode)

> What does the PC Compile facilitate or control?

this flag is set when an ARMmite is detected, and BASIC code is
compiled on the PC

If you are using an ARMexpress, you can set this flag to force the
compilation to occur on the PC (the advantage is the PC can have much
bigger symbol tables, the disadvantage is you lose the immediate

> Is there a way, if I was to go ahead and
> experiment with C, to reload BASIC in the event that I wanted to revert

At present we are not supporting switching back and forth.

> Also, I have gotten the free ISP flash utilities from NXP's website. I
> was wondering if the ARMmite board supported use of the OEMs flasher?

No idea on this, try it and let us know.

Since then I have used FlashMagic with our dongle and it works fine, can't guarantee all configurations.

Re: BASICtools general questions

Posted: Thu Oct 25, 2012 12:10 am
by YahooArchive
It appears that Flash Magic works with the ARMmite board (stands to
reason, eh? NXP hardware and NXP tool... ;-)

I was able to backup the entire 32K flash. I am feeling a bit more
confident about putting C on the MCU. That way, if I want to revert
back to ARMbasic all I have to do is reflash the image that I just
saved. Needless to say, I am a bit geeked... ;-)

The tool is available at:

The download link is: ... hMagic.exe

As info, in the Options|Advanced Options dialogue, on the Hardware
tab, I had to place a check by "Use DTR and RTS to control RST and
p0.14" and on the communications tab, I put 19200 as the Baud Rate.

Woo Hoo!!!

Disclaimer: User Beware - This information is for use at your own
risk. I am not responsible for anything negative that may happen as
a result of your use of the information contained herein...