[email protected] schrieb:
I'm trying to find a way to be able to upload above that level (I'm
trying to run msp430-jtag, but can't seem ti succeed).
the CVS version should be able to write the lower 64kB of a MSP430X. i
tested with FG4619.
Any suggestions on how to load/debug code above 64K?
msp430-jtag with the parallel port JTAG uses "self programming" (because
it's easier to let the msp430 generate the flash clock compared to the
non real-time PC). you'll find the sources in CVS/jtag/funclets.
once the assembler in binutils is aware of MSP430X instructions it
should be possible to write such a "funclet" that writes memory above 64kB.
The other problem is how to get the larger addresses into the tool as
most code assumes 16 bit addresses. maybe i can help there provided
there are example ELF and a43 files with 32 bit (?) addresses.
Changes are:
- file loader for elf, ti-text, a43 (python code)
- funclet interface. the funclets are patched with start/end addresses
and the data, needs to be adapted
- some address passing functions may limit to 16 bit addresses
- probably something else i don't think of now..
i think with this steps we can keep the JTAG access in 16 bits as it is
working now and the modification should be simple (given there are
binaries to play with and the assembler)
chris