This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EKLM4F120XL

hello guys,

I am using Stellaris EKLM4F120XL evaluation kit which is almost equal to Tiva board.At first I used to run any code and it used debug successfully with IAR Embedded workbench.After I ran qs-rgb programme given in stellarisware.It also ran successfully.but after that i ran led blinking programming of my own there was error in downloading:

 Verify error at address 0x000000E2, target byte: 0x00, byte in file: 0xD8

Verify error at address 0x000000E3, target byte: 0x00, byte in file: 0xFF

I tried to erase flash using LMFLASH Programmer.But it still doesn't work.And there was increment in number of errors.

There is any way i can stop this??

  • Hi Vishal,

         Post that blinking program that you made, so others can review it.

         Try the LM Flash Programmer Debug Port Unlock Utility (select Blizzard Class). See, post below for further info.

         JTAG Communication Failures

    -kel

         

  • Vishal,

    Can you post the entire project here? One of us can take a look at it and suggest a few pointers.

    Regards,

    Shashank

  • Ok here i am posting.My programme is very simple.I have used simple pointers to turn on all the bits of RGB LED.

    int main() { *((unsigned int *)0x400FE608U) = 0x20U; *((unsigned int *)0x40025400U) = 0x0EU; *((unsigned int *)0x4002551CU) = 0x0EU; *((unsigned int *)0x400253FCU) = 0x02U; *((unsigned int *)0x400253FCU) = 0x04U; *((unsigned int *)0x400253FCU) = 0x08U; return 0; }

    As you can see it is very basic code.No complications

    Now here the errors after formatting flash:

    Sun Dec 15, 2013 21:01:06: JTAG Speed is set to: 500 kHz
    Sun Dec 15, 2013 21:01:06: JTAG IDCODE = 0x0BA00477
    Sun Dec 15, 2013 21:01:06: AHB-AP ID = 0x00000000
    Sun Dec 15, 2013 21:01:06: AHB-AP ROM = 0x00000000
    Sun Dec 15, 2013 21:01:06: ROM Component ID = 0x00000000
    Sun Dec 15, 2013 21:01:06: Device ID = 0x00000000 (Unknown)
    Sun Dec 15, 2013 21:01:06: Hardware reset was performed
    Sun Dec 15, 2013 21:01:06: Initial reset was performed
    Sun Dec 15, 2013 21:01:06: 228 bytes downloaded and verified (1.19 Kbytes/sec)
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000000, target byte: 0xF8, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000001, target byte: 0x0D, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000004, target byte: 0x6D, byte in file: 0xD9
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000005, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000008, target byte: 0x81, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000009, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000000C, target byte: 0x83, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000000D, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000010, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000011, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000014, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000015, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000018, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000019, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000002C, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000002D, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000030, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000031, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000038, target byte: 0x85, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000039, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000003C, target byte: 0xE1, byte in file: 0x93
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000003D, target byte: 0x0E, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000040, target byte: 0x85, byte in file: 0x09
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000041, target byte: 0x02, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000042, target byte: 0x00, byte in file: 0x20
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000043, target byte: 0x00, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000044, target byte: 0x85, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000045, target byte: 0x02, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000046, target byte: 0x00, byte in file: 0x09
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000047, target byte: 0x00, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000048, target byte: 0x85, byte in file: 0x0E
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000049, target byte: 0x02, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004A, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004B, target byte: 0x00, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004C, target byte: 0x85, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004D, target byte: 0x02, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004E, target byte: 0x00, byte in file: 0x0E
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000004F, target byte: 0x00, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000050, target byte: 0x85, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000051, target byte: 0x02, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000052, target byte: 0x00, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000053, target byte: 0x00, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000054, target byte: 0x61, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000055, target byte: 0x11, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000056, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000057, target byte: 0x00, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000058, target byte: 0x85, byte in file: 0x06
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000059, target byte: 0x02, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005A, target byte: 0x00, byte in file: 0x04
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005B, target byte: 0x00, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005C, target byte: 0x85, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005D, target byte: 0x02, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005E, target byte: 0x00, byte in file: 0x05
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000005F, target byte: 0x00, byte in file: 0x48
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000060, target byte: 0x85, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000061, target byte: 0x02, byte in file: 0x21
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000062, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000063, target byte: 0x00, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000064, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000065, target byte: 0x02, byte in file: 0x20
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000066, target byte: 0x00, byte in file: 0x70
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000067, target byte: 0x00, byte in file: 0x47
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000068, target byte: 0x85, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000069, target byte: 0x02, byte in file: 0xE6
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006A, target byte: 0x00, byte in file: 0x0F
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006B, target byte: 0x00, byte in file: 0x40
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006C, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006D, target byte: 0x02, byte in file: 0x54
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006E, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000006F, target byte: 0x00, byte in file: 0x40
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000070, target byte: 0x85, byte in file: 0x1C
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000071, target byte: 0x02, byte in file: 0x55
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000072, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000073, target byte: 0x00, byte in file: 0x40
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000074, target byte: 0x85, byte in file: 0xFC
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000075, target byte: 0x02, byte in file: 0x53
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000076, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000077, target byte: 0x00, byte in file: 0x40
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000078, target byte: 0x85, byte in file: 0x4E
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000079, target byte: 0x02, byte in file: 0xF6
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000007A, target byte: 0x00, byte in file: 0x88
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000007B, target byte: 0x00, byte in file: 0x51
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000007C, target byte: 0x85, byte in file: 0xCE
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000007D, target byte: 0x02, byte in file: 0xF2
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000007F, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000080, target byte: 0x85, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000081, target byte: 0x02, byte in file: 0x68
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000082, target byte: 0x00, byte in file: 0x40
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000083, target byte: 0x00, byte in file: 0xF4
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000084, target byte: 0x85, byte in file: 0x70
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000085, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000086, target byte: 0x00, byte in file: 0x08
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000087, target byte: 0x00, byte in file: 0x60
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000088, target byte: 0x85, byte in file: 0x4F
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000089, target byte: 0x02, byte in file: 0xF0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000008B, target byte: 0x00, byte in file: 0x70
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000008C, target byte: 0x85, byte in file: 0xE1
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000008D, target byte: 0x02, byte in file: 0xEE
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000008E, target byte: 0x00, byte in file: 0x10
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000008F, target byte: 0x00, byte in file: 0x0A
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000090, target byte: 0x85, byte in file: 0x70
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000091, target byte: 0x02, byte in file: 0x47
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000092, target byte: 0x00, byte in file: 0xFE
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000093, target byte: 0x00, byte in file: 0xE7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000094, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000095, target byte: 0x02, byte in file: 0xF0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000096, target byte: 0x00, byte in file: 0x0B
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000097, target byte: 0x00, byte in file: 0xF8
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000098, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x00000099, target byte: 0x02, byte in file: 0x28
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009A, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009B, target byte: 0x00, byte in file: 0xD0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009C, target byte: 0x85, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009D, target byte: 0x02, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009E, target byte: 0x00, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x0000009F, target byte: 0x00, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A0, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A1, target byte: 0x02, byte in file: 0x20
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A2, target byte: 0x00, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A3, target byte: 0x00, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A4, target byte: 0x85, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A5, target byte: 0x02, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A6, target byte: 0x00, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A7, target byte: 0x00, byte in file: 0xF7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A8, target byte: 0x85, byte in file: 0xCB
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000A9, target byte: 0x02, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000AB, target byte: 0x00, byte in file: 0xF0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000AC, target byte: 0x85, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000AD, target byte: 0x02, byte in file: 0xF8
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000AE, target byte: 0x00, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000AF, target byte: 0x00, byte in file: 0x20
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B0, target byte: 0x85, byte in file: 0x70
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B1, target byte: 0x02, byte in file: 0x47
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B3, target byte: 0x00, byte in file: 0xF0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B4, target byte: 0x85, byte in file: 0x01
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B5, target byte: 0x02, byte in file: 0xB8
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B8, target byte: 0x85, byte in file: 0x07
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000B9, target byte: 0x02, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BA, target byte: 0x00, byte in file: 0x38
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BB, target byte: 0x00, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BC, target byte: 0x85, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BD, target byte: 0x02, byte in file: 0xF0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BE, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000BF, target byte: 0x00, byte in file: 0xF8
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C0, target byte: 0x85, byte in file: 0xFB
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C1, target byte: 0x02, byte in file: 0xE7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C4, target byte: 0x85, byte in file: 0x80
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C5, target byte: 0x02, byte in file: 0xB5
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C6, target byte: 0x00, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C7, target byte: 0x00, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C8, target byte: 0x85, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000C9, target byte: 0x02, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CA, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CB, target byte: 0x00, byte in file: 0x4A
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CC, target byte: 0x85, byte in file: 0x11
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CD, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CE, target byte: 0x00, byte in file: 0x18
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000CF, target byte: 0x00, byte in file: 0x20
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D0, target byte: 0x85, byte in file: 0xAB
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D1, target byte: 0x02, byte in file: 0xBE
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D2, target byte: 0x00, byte in file: 0xFB
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D3, target byte: 0x00, byte in file: 0xE7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D4, target byte: 0x85, byte in file: 0x26
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D5, target byte: 0x02, byte in file: 0x00
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D6, target byte: 0x00, byte in file: 0x02
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D8, target byte: 0x85, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000D9, target byte: 0x02, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DA, target byte: 0x00, byte in file: 0xC0
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DB, target byte: 0x00, byte in file: 0x46
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DC, target byte: 0x85, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DD, target byte: 0x02, byte in file: 0xF7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DE, target byte: 0x00, byte in file: 0xCC
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000DF, target byte: 0x00, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000E0, target byte: 0x85, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000E1, target byte: 0x02, byte in file: 0xF7
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000E2, target byte: 0x00, byte in file: 0xD8
    Sun Dec 15, 2013 21:01:06: Warning:
    Verify error at address 0x000000E3, target byte: 0x00, byte in file: 0xFF
    Sun Dec 15, 2013 21:01:07: Warning: There were warnings during download, see Log Window
    Sun Dec 15, 2013 21:01:07: Loaded debugee: F:\Learning Stuff\MIcrocontroller Units\Projects\IAR systems projects\Debug\Exe\c.out
    Sun Dec 15, 2013 21:01:07: Hardware reset was performed
    Sun Dec 15, 2013 21:01:07: Target reset
    Sun Dec 15, 2013 21:01:08: There was 1 warning during the initialization of the debugging session.

  • Inclusion of each/every, "Verify error" may have been bit much - n'est pas, mon ami?  (beyond 1st 100 or so - eyes teared...)

    If you say so - then direct register writes into 0x4002.xxxx, 0x400F.xxxx - is, "very basic, no complications."  (appears the equally, basic use of "comments," clarifying your code objectives - escaped concern.)  "Usual suspects" when JTAG becomes disrupted are a mismatch between board's xtal value & value chosen via your SW, and or JTAG pins (PC0-PC3 repurposed - deliberately or by accident) - yet results in board "lock-out."

    You spoke about Flash Erasing - which is not the "Unlock Procedure" - found under Utilities/other (tick Blizzard) and follow all of the usage guidelines.  (i.e. pay attention to reset instruction)

    That JTAG speed @ 500KHz seems high - and had you intended to switch to AHB (fast) bus?

    We also run IAR but via J-Link - note 100KHz speed in our successful exchange, below.  (and via SWD)

     

  • Dear  ,

    I am a beginner.I don't know much about MCU stuff.I am new to this field.I don't have knowledge of JTAG much.Can you explain in detail how to solve this?

  • Vishal Ramani said:

    Can you explain in detail how to solve this?

    Well yes - but Ms Cozart has already done that - generously adopting some few tips/guides from this reporter.

    http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/143216.aspx

    Your posted code - using both Direct Register rather than StellarisWare & targeting 0x4002.xxxx & 0x400F.xxxx may not be especially wise for a beginner.  Great attention to detail must be supplied - thus a very thorough read & comprehension of those critical registers is mandated - prior to any transaction.  Even a single miscue - inflicted upon one lone register bit - can produce the misfortune you now suffer...

     

  • Thanks for the help.I will try everything to get out of this mess.

  • I think I have got the problem.

    The board is working fine with stellarisware projects.In all of those project files,"Startup_ewarm" is common.I read it and it makes some changes in the board to enable IAR extension.And had some code in it.I didn't get the code much.And after if i try to run my code then debugger shows the errors.But if i again load the stellarisware project of qs-rgb,it works fine.

    Here i am sending you a link which are the files of qs-rgb project of stellarisware:

    https://drive.google.com/folderview?id=0B4XnLYjho101eGFhMlJMcGttNTQ&usp=sharing

    check all "startup_ewarm" and ewarm stuuf.If anyone can help in this.