Dear Sir,
By using GNU compiler in uVision 3.53, i have completed a code on LPC2129, but it failed to be migrated to LPC2138/01. It seems not running on LPC2138 at all. My observation is as below:
(1) In Debug session, the program hang at this line in Disassembly Window: 0xFFFFFFFF 0xFFFF (???)
(2) To test a small code (<16K) on LPC2138/01. It is running fine when target is set as "MCB2100 RAM", but failed for "MCB2100 Flash".
In the Device option, LPC2138/01 has been selected. Besides, some changes has been done in "flash.ld" as below. However, same problem happen.
CODE (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000 DATA (rw) : ORIGIN = 0x40000000, LENGTH = 0x00008000
Hope to have your advice. Thanks.
Regards, Tey