I have managed to step through programming instructions in J-link and save my flash device content to file. I have also managed to manually perform a chip erase of the M29W800DB flash. The problem I am having now is that I cannot get the 'loadbin' command to write to the flash. The command seems to succeed, but when I read the flash content, it is still all 0xFF. I can manually implement the programming algorithm for the M29W800DB on a byte by byte basis, so I know that everything is working as it should be. I just need to know how to get the loadbin option to implement the correct algorithm.
On looking through the forum and documentation, I see that the 'exec' command is used to load flash device algorithm parameters. The trouble I have with this is that my flash is external and not on the supported list (although the list intimates that external devices are supported and do work). I tried "exec device = M29W800DB" and "exec device = AT91M55800A" , but although all these commands are accepted by J-link without error, they do not make any difference. The documentation lists "EnableFlashDL", but that's an unknown command in J-link.
T0CF0 7338:946 JLINK_IsHalted() returns TRUE
T0CF0 7338:948 JLINK_WriteMem(0x01000000, 0x100000 Bytes, ...) - Data: FF 1C 00 EA 10 B5 04 1C ...
T0CF0 7363:337 JLINK_ReadMemU16(0x01000000, 0x0100 Items, ...) - Data: FF FF FF FF FF FF FF FF ...
Regards,
On looking through the forum and documentation, I see that the 'exec' command is used to load flash device algorithm parameters. The trouble I have with this is that my flash is external and not on the supported list (although the list intimates that external devices are supported and do work). I tried "exec device = M29W800DB" and "exec device = AT91M55800A" , but although all these commands are accepted by J-link without error, they do not make any difference. The documentation lists "EnableFlashDL", but that's an unknown command in J-link.
T0CF0 7338:946 JLINK_IsHalted() returns TRUE
T0CF0 7338:948 JLINK_WriteMem(0x01000000, 0x100000 Bytes, ...) - Data: FF 1C 00 EA 10 B5 04 1C ...
T0CF0 7363:337 JLINK_ReadMemU16(0x01000000, 0x0100 Items, ...) - Data: FF FF FF FF FF FF FF FF ...
Regards,
The post was edited 1 time, last by galaxyGuy ().