Re: Searching for JTAG Flash Programmer for ARM7 and AT29c040a

From: Tauno Voipio (tauno.voipio_at_iki.fi.NOSPAM.invalid)
Date: 03/17/04


Date: Wed, 17 Mar 2004 18:08:42 GMT

Daniel wrote:
> Dear all,
>
> thanks for the replies.
>
> Conclusion:
> 1. Method
>
>>>> - a program able to write the Flash from the RAM
>>>> - the program destined for the Flash
>>>>
>>>>After loading both pieces, I start the writer with
>>>>the JTAG interface and let it do the programming.
>
>
> This does not help for programmes which need more space than internally
> available. My MCU has 16 KB internal RAM. This is not sufficient.

Transfer the code in slices. The Flash writer is less than
2 kbytes, so you should be able to have e.g. 12 kbytes slices.

The Flash programming algorithm is quite on the complicated
side to be performed from JTAG directly.

To refresh the memory: the JTAG RAM write procedure:

  - load a LDMIA instruction into the pipeline
  - load some NOP's to get to the execution cycle
  - load the data for the LDMIA
  - load a STMIA instruction in the pipeline
  - execute the STMIA at full speed to access the memory
  - stop the processor
  - repeat loop till done

Add the Flash write sequence requirements to the above,
so you'll see why it's not recommended (yes - it should
be doable, never tried such a kludge).

Been there - done that.

Tauno Voipio
tauno voipio @ iki fi



Relevant Pages

  • Re: Slow Bootup is annoying
    ... You could be creating memory leaks with VS 2005/2008. ... Closing programmes does not release memory where there is a leak. ... Many programmes assume the user wants them to load when booting when they ... You can access Event Viewer by selecting Start, Control Panel, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Down vs Load, whats the difference?
    ... One of them takes longer to load. ... There is no reason to avoid writing the OS to flash. ... this time, after down&program,no reset, still no sound. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CISCO Router configuration register
    ... always loaded from FLASH (it always loaded the SECOND IOS in flash ... BOOTROM will load and perform simple functional tests, ...
    (comp.dcom.sys.cisco)
  • Re: Flash momory, should it be guarded?
    ... Andrew> If your code ever writes to flash, ... Regardless of the state of HID0{DCE], load and store operations are ... Are the any additional load/store undesired scenarios for flash memory ...
    (comp.sys.powerpc.tech)
  • Re: The standard I/O problems
    ... rewriting the flash device on FLUSH or when buffers are reused. ... said 101 LOAD to get the editor. ...
    (comp.lang.forth)