0

nRF51 to nRF52 migration crash in SVC_Handler from HAL_CM4.c [closed]

francisg gravatar image

asked 2017-02-17 08:55:49 +0200

Hi,

We're trying to port and migrate our nRF51 SDK v8 (softdevice s110) codebase to nRF52 SDK v11 (softdevice s132), but we're seeing a crash occur (goes into HardFault handler, shows up as INVSTATE in UFSR register). Debugged and traced it to what looks to be from MSP and seems to occur when SVC_Handler returns for svcMessageGet in osTimerThread. This is using SVC_Handler from HAL_CM4.c. However, when I replaced it with HAL_CM0.c, the crash seemed to have gone away.

Is there a step I'm missing in applying nRF SDK 11 on top of nRF51 SDK v8? Do I need to do anything to match up with updating to HAL_CM4.c in RTX?

We've already applied clock related erratas that wasn't already available in system_nrf52.c. Please let us know if we're missing a step.

Thanks

edit retag flag offensive reopen delete report spam

Closed as "duplicate question" by Petter Myhre at 2017-02-17 11:59:19 +0200

1 answer

Sort by » oldest newest most voted
0
Petter gravatar image

answered 2017-02-17 11:59:14 +0200

Duplicate

edit flag offensive delete publish link more

User menu

    or sign up

Recent questions

Question Tools

1 follower

Stats

Asked: 2017-02-17 08:55:49 +0200

Seen: 41 times

Last updated: Feb 17