| View previous topic :: View next topic |
| Author |
Message |
jeremiah
Joined: 20 Jul 2010 Posts: 1426
|
|
Posted: Thu Sep 06, 2012 7:55 pm |
|
|
| naughty_mark wrote: |
Hi, Jeremiah
I just tried your advice, I commented out the header files in main.c file which may cause compiling errors described above, and also use a blank main()function.
Then I got this compiling error
--- Info 300 "UNIT_TEST.c" Line 238(0,7): More info: * Access violation at address 018798E7 in module 'PCD.dll'. Read of address 84CE9E0E
*** Error 44 "UNIT_TEST.c" Line 238(0,7): Internal Error - Contact CCS OUTPUT FILE O
1 Errors, 28 Warnings.
Build Failed.
I don't know what does it mean?
Thanks mate |
Actually, that is the error I am getting too. I also get it with the code you posted. You may have to contact CCS support and ask them to take a look at it. You would want to send them the c file so they could replicate it.
EDIT:
As a point of interest, if you change your addresses to normal memory:
| Code: |
#define LOADER_ADDR (0x2A400)
#define LOADER_END (0x2A7FF)
|
The error goes away and compiles nicely. So I *think* the addresses are tripping up the compiler. CCS support could verify either way. |
|
 |
naughty_mark
Joined: 29 Aug 2012 Posts: 97
|
|
Posted: Thu Sep 06, 2012 8:09 pm |
|
|
Thank you very much, mate! I give up~~and try my bootloader code just in main flash memory to see if it can works well and maybe later let CCS know this to find the root cause.
Thanks again. |
|
 |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Fri Sep 07, 2012 12:10 am |
|
|
I wasn't aware of the "auxilary flash memory" thing. A plausible explanation is to consider it as a feature
presently not fully supported by CCS PCD. I notice that there's an Aux Mem entry in the device editor, so CCS
is at least preparing to support the feature.
CCS support should clarify. |
|
 |
|