Upgrading 2.7 SDK -> to new 2.8 SDK ERRORs?

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

Upgrading 2.7 SDK -> to new 2.8 SDK ERRORs?

1,671 Views
jparrish88
Contributor IV

Hi All, 

Advised customer to upgrade to latest MCUXpresso(11.2) and the latest SDK. There seems to be some glitches going on.

Moving to the 2.8 SDK from the 2.7 for the LPC54S018m, there seems to be an issue with the CAN0 address:

Originally using SDK 2.7.0:

#define CAN0_BASE_ADDRESS_ALIGN_SIZE (0x100)

#define CAN1_BASE_ADDRESS_ALIGN_SIZE (0x100)

 

In the newly generated file:

#define CAN0_BASE_ADDRESS_ALIGN_SIZE (0x10000)

#define CAN1_BASE_ADDRESS_ALIGN_SIZE (0x10000)

Why would the Base Address change, does it affect anything else?

Additionally, when we import the 2.7 based project, 2.7's SDK was never loaded.... Does it automatically load it the 2.7 SDK as it's part of the imported project? 

Either way, we added the 2.8 SDK to MCUxpress 11.2, then tried to refresh the project and are getting a ton of Ethernet related errors (missing a type called phy_handle_t , phy_config_t ). 

Any advice would be nice to have. Thank you in advance!

Labels (1)
0 Kudos
Reply
3 Replies

1,581 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi 

SDK2.7 was developed and tested under MCUXpresso IDE v11.1.0

SDK2.8 was developed and tested under MCUXpresso IDE v11.2.0

If your project was developed based on SDK2.7, please use MCUXpresso IDE v11.1.0+SDK2.7 package. you need install SDK2.7 to your IDE prior then import the SDK2.7 project. SDK package won't be installed automatically when you import the SDK2.7 based project.


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

1,581 Views
jparrish88
Contributor IV

Hi ZhangJennie, 

I understand the differences that 2.7 is on 11.1 and 2.8. As discussed I'm asking the client to upgrade since they are just starting the development. 

However, moving to the we see in that the SDK has moved the CAN0 address and we are just trying to make sense of it. 

Moving to the 2.8 SDK from the 2.7 for the LPC54S018m, there seems to be an issue with the CAN0 address:

Originally using SDK 2.7.0:

#define CAN0_BASE_ADDRESS_ALIGN_SIZE (0x100)

#define CAN1_BASE_ADDRESS_ALIGN_SIZE (0x100)

 

In the newly generated file:

#define CAN0_BASE_ADDRESS_ALIGN_SIZE (0x10000)

#define CAN1_BASE_ADDRESS_ALIGN_SIZE (0x10000)

 

Why would the Base Address change, does it affect anything else?

0 Kudos
Reply

1,581 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI 

I checked SDK2.6, SDK2.7,SDK2.8, CAN BASE ADDRESS ALING SIZE are all set as 0x10000 by default. 

in LPC54018M, Base address for the message RAM in the chip memory map Bits 0 to 15 are reserved and 0x0000 should be written to these bits.

So the correct definition is 

#define CAN0_BASE_ADDRESS_ALIGN_SIZE (0x10000)

#define CAN1_BASE_ADDRESS_ALIGN_SIZE (0x10000)


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply