Trying to use the Signum JTAGJET emulator to program '404 CardEngine FLASH. Reading and erase works great, however writing only writes every second 16-bit word. I am using a modified '400 SDK macro file that SIGNUM supplies; the mod is to enable 32 MB I have on my CardEngine. I suspect there are subtle differences between the '400 and '404 SMC. If anyone has already done this, can you post the changes, especially how to program the following registers (suspect the problem is in SMC_BCR0 0x8000.2000):
SMC_PCMCIACON = 0x3
SMC_BCR0 = 0x200041c0 ; Controller settings for SRAM Bank 0 (32bit)
SMC_BCR7 = 0x1000b2c2 ; 16 bit access to CPLD
Thanks!
PS: re-loading LoLo is very simple; just load the RAM .elf image using Signum Chameleon debugger, run (GO) then use update and burn via TeraTerm!
|