Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

DK-S128 OOB project error when flashing it via SCI

$
0
0

Hello,

I'm starting to develop using the S128 microcontroller with the different peripherals and modes. All things went right except for flashing the micro using the Renesas Flash Programmer V3.05 via a comm port. Using the OOB_DK_S128 project it shows this message:

Loading File (C:\Users\myuser\e2_studio\workspace_new\OOB_DK_S128\Debug\OOB_DK_S128.srec) CRC-32 : B155123A
There is excessive data outside the flash memory area. (0x20000000)
Error(E0000020) : The program file exceeds the flash ROM size of target device.
Operation failed.

But using the SimplePMODLCD_DKS128 project all went OK.

Looking for the problem that cause this I found that the compiler/linker generate an initialization code for a variable called "gp_dtc_vector_table" (file r_dtc.c line 114).

It is expected to be in the first registers of the RAM so in the *.srec file I found this just at the end of it:

S3152000000000000000000000000000000000000000CA
S3152000001000000000000000000000000000000000BA
S3152000002000000000000000000000000000000000AA
S31520000030000000000000000000000000000000009A
S31520000040000000000000000000000000000000008A
S31520000050000000000000000000000000000000007A
S31520000060000000000000000000000000000000006A
S31520000070000000000000000000000000000000005A
S31520000080000000000000000000000000000000004A
S31520000090000000000000000000000000000000003A
S315200000A0000000000000000000000000000000002A
S315200000B0000000000000000000000000000000001A

No problem with generated file if the microcontroller is programmed using the on-board Jlink but using the Flash programmer tool it throws the error I put above. It is obviously because the Jlink has access to the RAM but not the programmer (I am right?).

I couldn't find any important difference between the S128.ld file of both projects. Is there any option that I miss up?

In the project configuration i neither found anything that solve my problem.

Have you got any idea how to solve this issue?

 

Thanks :)


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>