Forum : ARM
Post Information | Post |
---|---|
June 17, 2009 - 8:36pm
|
Hi I'm newbie in GCC microcontroller programming. I found some problem with constant array reading. --- const unsigned char flash_array[4] = {0x01, 0x23, 0x45, 0x67}; int main(void) chr0 = flash_array[0]; chr4 = ram_array[0]; --- Running above in RIDE simlulator gives result as expected. Running it with Rlink connected to real processor Regards |
Problem solved. It was because of harware error: Jtag line NRST was not connected to CPU.
Thanks Artur I. :)