Adafruit Ultimate GPS and possible mbed library Firmware problem - hardware error report

Hello,

I’m trying to get an Adafruit GPS module to work with existing mbed code and libraries. I was expecting NMEA sentances but get thousands of reboot hardware fault reports and would very much appreciate any help in understanding what I’ve got wrong!

This is using the imported adafruit-gps-complete program and library. I’m also using USB serial hardwired on just gnd/5V/Tx/Rx from the GPS breakout to a Nucleo L476RG board.

  • MbedOS Fault Handler –

++ MbedOS Error Info ++
Error Status: 0x80FF013D Code: 317 Module: 255
Error Message: Fault exception
Location: 0x800792F
Error Value: 0x8005DFE
For more info, visit: mbedos-error
– MbedOS Error Info –

= System will be rebooted due to a fatal error =
= Reboot count(=1254) reached maximum, system will halt after rebooting
++ MbedOS Fault Handler ++

FaultType: HardFault

Context:
R0 : 20018000
R1 : 00002580
R2 : FFFFFFFF
R3 : 00000001
R4 : 00000000
R5 : 00002580
R6 : 00000000
R7 : 0800A893
R8 : 00000000
R9 : 00000000
R10 : 0800A8B4
R11 : 0800A8B4
R12 : 20000238
SP : 20017F70
LR : 08005869
PC : 08005DFE
xPSR : 21000000
PSP : 00000000
MSP : 20017F08
CPUID: 410FC241
HFSR : 40000000
MMFSR: 00000000
BFSR : 00000082
UFSR : 00000000
DFSR : 00000008
AFSR : 00000000
BFAR : 20018000
Mode : Thread
Priv : Privileged
Stack: MSP

Any help appreciated!

Hi,

I just done quick porting the adafruit-gps-complete example for latest Mbed OS 6.8.0.

I tested this with Nucleo F429ZI.

I don’t connect GPS antenna and haven’t put battery for RTC of the GSP, but I got log output below:

Connection established at 9600 baud...
$GPGGA,010604.800,,,,,0,00,,,M,,M,,*73
GSA,A,1,,,,,,,,,,,,,,,*1E
PRMC,010604.800,V,,,,,0.00,0.00,060180,,,N*49
VTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,010605.800,,,,,0,00,,,M,,M,,*72
GSA,A,1,,,,,,,,,,,,,,,*1E
PRMC,010605.800,V,,,,,0.00,0.00,060180,,,N*48
VTG,0.00,T,,M,0.00,N,0.00,K,N*32
Time: 1:6:5.799
Date: 0/0/200
Fix: 0
Quality: 0
$GPGGA,010606.800,,,,,0,00,,,M,,M,,*71
GSA,A,1,,,,,,,,,,,,,,,*1E
PRMC,010606.800,V,,,,,0.00,0.00,060180,,,N*4B
VTG,0.00,T,,M,0.00,N,0.00,K,N*32

So, you can test this.

Thanks,
Toyo

Many thanks Toyo,

That’s what I was expecting to see, but I get the hardware error report instead. I get no data but thanks anyway.

Thanks, appreiated though!