Microsoft MakeCode

Panic Code 070 0 What is it?

Hi

I have some code on MicroBit V2 that gives me panic code 070

Anyone know what this error means as i can’t seem to find any info on it

Thanks

That’s a “CPU SDK Fault”(see ErrorNo.h). The “70s” are:

  • MICROBIT_PANIC_SD_ASSERT: 70
  • MICROBIT_PANIC_APP_MEMACC: 71
  • MICROBIT_PANIC_SDK_ASSERT: 72
  • MICROBIT_PANIC_SDK_ERROR: 73
  • MICROBIT_PANIC_SDK_UNKNOWN: 74

Error 70 is the “Soft Device Assert” and indicates a problem in interactions with the Bluetooth Soft Device.

I’ve been doing a fair amount of Bluetooth stuff recently and have run into this too. I may be able to help if you can provide a bit more detail.

If you’re developing an extension or doing low level work, it may be better to get input from the Slack forum. You can join via: https://support.microbit.org/support/solutions/articles/19000016193-microbit-community-slack (post to the #makecode-extensions channel).

Bill

Hi

Thanks for the info

Think it may be some sort of incompatibility with the extensions i am using?

I will revisit the problematic code sometime this week - rest assured if i need help i’ll come running!!

It could be because of the combination of extensions. Some extensions do operations in a way that isn’t acceptable when bluetooth is running.

Bill