hi to all....I ve some errors when i'm dealing with my processor(M5485)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hi to all....I ve some errors when i'm dealing with my processor(M5485)

1,039 Views
Manju
Contributor I
When i run my program i strucked out with some errors like format error,PC exception error:smileysad: kind of things(But not always:womanvery-happy:).
Few times it's running perfectly.
That is where i had a problem,Why its not happening always(Why few times?)??:womansurprised:
I want to know why i'm getting these errors only some times not all the times...
How shall i rectify my program from these bugs??
i attavhed my error's image with this:smileysad:.....
Labels (1)
0 Kudos
2 Replies

394 Views
paddy
Contributor I
Hi Manju,
 
i guess it happens while debugging, need to select proper memory as target. Try with different target.
 
Regards,
paddy
0 Kudos

394 Views
Manju
Contributor I
hi paddy,
Thanks yr..:smileyhappy:
but i hope you are speaking about sdram linker file
,am i right?

    vector_ram(RWX)  :ORIGIN = 0x00000000, LENGTH = 0x00000500 /*Vector table */
    sdram        (RX)      :ORIGIN = 0x00000500, LENGTH = 0x04000000 /*DDR SDRAM - 64Mbytes */   
    sdram_data(RW)   : ORIGIN = AFTER(sdram), LENGTH = 0x04000000/*DDR SDRAM-64Mbytes*/   
    mbar           (RWX) : ORIGIN = 0x10000000, LENGTH = 0x00040000 /*Memory mapped registers */
    sys_sram   (RWX) : ORIGIN = 0x10010000, LENGTH = 0x00008000 /*32KB on-chip System SRAM */
    core_sram0(RWX) : ORIGIN = 0x20000000, LENGTH = 0x00001000 /*4KB on-chip Core SRAM0 */
    core_sram1(RWX) : ORIGIN = 0x20001000, LENGTH = 0x00001000 /*4KB on-chip Core SRAM1 */
    code_flash  (RWX) : ORIGIN = 0x40000000, LENGTH = 0x01000000 /*16MB external StrataFlash */
    boot_flash  (RWX) : ORIGIN = 0xFE000000, LENGTH = 0x00200000 /*2MB external Boot Flash */

Do you feel is there anything wrong in that??


0 Kudos