Flash memory again - sorry!

"Andy Page" <andyp-TwreDTNAk1ZH2KyEQ/[email protected]> Tue, 15 Jun 2004 08:19:36 +0100
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hi all,

I don't want to push this too much but I really need to get some data into
flash...

Rather than using java directly, is it possible to use javakit to upload
files as binary data into flash?  It would seem like it could but I'm having
trouble making it work.  Is there an upper limit to the bank/address
possible?  I am using a TStik so the upper 1MB (banks 50 to 5F) should be
available.  I tried creating a simple hex file as follows:

:0300000002337A4E

:00000001FF

As far as I can tell, this is the correct Intel HEX file format for 3 data
bytes (02, 33, 7A).

I run the bootloader by running javakit (javakit -400 -flash 40), choose
bank 55 (B55) (available on TStik) and then load the hex file using the drop
down menu.  This reports back 'Load Complete'.  Then I do a dump of the
first 255 bytes of this bank using D 0 FF but the flash is all FF's.  What
am I doing wrong?  I tried this on bank 49 as well but this didn't seem to
work either.

Thanks for any help,

Andy Page,

Unipower Europe Limited
U.K.


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini