At certain points in the code a call to a known good subroutine jumps into a .word disassembly and fails to execute

I have a subroutine that exercises the SPI interface and only at certain points in the code it won't execute the SPI subroutine and goes into the disassembly when single stepping to see what's going wrong. I presume it has something to do with the memory management, but I have not been able to fix it by playing around with those settings. 

Parents
  • I've bypassed the timer for the TWR code and now have that running in an infinite loop just like the Decawave examples. I've also commented out the advertising start and do not appear to be going into the .word disassembly now. I'm going to focus now on getting the TWR up a nd running and then tackle getting the BTLE stack running with the TWR. I'll keep this open for now.

Reply
  • I've bypassed the timer for the TWR code and now have that running in an infinite loop just like the Decawave examples. I've also commented out the advertising start and do not appear to be going into the .word disassembly now. I'm going to focus now on getting the TWR up a nd running and then tackle getting the BTLE stack running with the TWR. I'll keep this open for now.

Children
Related