MQX 3.7 rebuilding libraries for bsp_twrk60n512 received warning in vectors.c

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

MQX 3.7 rebuilding libraries for bsp_twrk60n512 received warning in vectors.c

1,321 Views
kecart
Contributor III

I downloaded MQX 3.7 and updated CodeWarrior 10.1 with both required patchesRebuilding the bsp_twrk60n512 library gives 2 warning messages,

access mode is "R" but a read-only section was not specified

caused by the #pragma statements

#pragma define_section vectors_rom ".vectors_rom" far_abs R

in the vectors.c file.  Obviously something was left out, not saved or changed at the last minute.  What is the recommended action to get rid of the warning?

0 Kudos
6 Replies

735 Views
avoicu
Contributor I

An idea is to change from R to RW or RWX, but I'm not sure if this is OK or not. May be sombody from Freescale would come with an answer.

adis

0 Kudos

735 Views
DavidS
NXP Employee
NXP Employee

Hello,

I too get those errors/warnings but since the project compiles OK I ignore them.

I've pointed out to the development team the concern it generates and hope to resolve with update or next release.

Hope this helps.

Regards,

David

735 Views
ArturoJsx
Contributor I

Did the development team found a solution for this 2 warnings???  I see this topic is from months ago but I did get those warnings whit the latest MQX 3.7 downloaded..

0 Kudos

735 Views
tavo
Contributor I

 

I have the same problem but rebuilding libaries for bsp_twrk40x256 .... and an error

 

1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
Setting working directory to C:\Users\tvo\Freescale\Freescale MQX 3.7\lib\twrk40x256.cw10\bsp\Generated_Code
1 file(s) copied.
' '
'attrib' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file dbg already exists.
'attrib' is not recognized as an internal or external command,
operable program or batch file.

 

can help me?
 

0 Kudos

735 Views
bugs
Contributor III

I have no problem to recompile bsp_twrk60n512

try my install steps:

1. install CW_MCU_v10.1_SE.exe
2. dont' instal MQX-3.7; If you already installed it, just un-install MQX-3.7
3. read CW_MCU_v10.1_Update_Procedure.pdf
4. Do section On-Line Mode 3.1 steps 1) to 7) in CW_MCU_v10.1_Update_Procedure.pdf
5. Do section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf to
     NOTE: select "MCU_v10.1_Compiler_Update_ColdFire_Kinetis_Qorivva_for_Windows.zip" in step 2.1-6)
6. Install "MCU v10.1 Kernel Awareness Update for Windows.zip"
     according to section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf
7. Install "CW_MCU_v10.1_Update_1.0.0.zip"
     according to section Off Line Mode 2.1 all steps  in CW_MCU_v10.1_Update_Procedure.pdf
    
    ****After install the Feature information indicates com.freescale.mcu is 10.1.5****
    
    
8. Install MQX-3.7
9. Run ../Setup_JLinkARM_V428c.exe to upgrade firmware for your J-Link Pro

0 Kudos

736 Views
Kyle_Apollo
Contributor II

I am experiencing the exact same problem, any idea how to fix this?

0 Kudos