Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C51: C51, Linker, list of variables as pile up in memory

$
0
0
Hi I found a bug in my code, a for was out of range and overwriting the variables after the wanted one. i.e. uint8_t xdata globalMyVar[4]; for ( ii = 0; ii < 20; ii++ ) { globalMyVar[ii] = 0; } So I wanted to look which were these overwritten variables. For that I checked the file generated by the linker (.M51) with the symbols information My application has several modules. The symbol(s) table(s) produced is not well adapted for a quick look on how var

Viewing all articles
Browse latest Browse all 3049

Trending Articles