How to use s32k344 code as 314

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

How to use s32k344 code as 314

162 Views
Oido
Contributor I

Hello, I'm using the S32K344 EVB board
Personally, I made the S32K314 PCB.
There was a problem that the power was not turned on, but the problem was solved.
However, the code based on the existing EVB board did not work on the board I made.

While looking up the data, LINKER_FLASH found that this part is different from 344 and 314.
int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00010000 /* 64K */
While searching for data int_itcm: ORIGIN = 0x0000000000, LENGTH = 0x00008000 /* 64K */
int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00020000 /* 128K */

 

>>

int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 64K */
While searching for data int_itcm: ORIGIN = 0x0000000000, LENGTH = 0x00008000 /* 64K */
int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 128K */

 

Is there anything else I need to revise?

HARDFAULT error or
Break at address "0x2010000" with no debug information available, or outside of program code.
A warning message is displayed.

0 Kudos
Reply
1 Reply

139 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hmm, there will be difference in access to TCMs.

petervlna_0-1721803024987.png

 

nt_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 128K */

As I am looking into memory map, the 314 has 64kB only. So that will be be the reason why you have

break at address "0x2010000" 

petervlna_1-1721804097420.png

Best regards,

Peter

 

 

0 Kudos
Reply