Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Different behavior when debugging or running program on sbRIO-9623

Hello,

 

I have been using a bluetooth module (HC-06) to control my board with my phone through an Android app I made.

To communicate with the module I used a simple UART library for the FPGA which seems to work well.

 

The thing is, when I run my RT program and I try to send a first byte (which is a state for my state machine) the byte seems not to be read, however when I use the step by step function it actually works (the FIFO receives a byte, which it handles as needed etc...).

 

The rest of my program seems to work once I've done the initial debugging, so it doesn't seem to be an error with the bluetooth/FPGA program, but I don't see what could cause that behavior.

 

I attached a screen of the part of the program that does not work.

It's basically stuck in the while loop even when my app is sending data, unless I use the debugging function.

 

Thanks in advance.

Paul Lesur

 

 

0 Kudos
Message 1 of 2
(4,594 Views)

May you share a screen shot of the error generated with the running program ?  

0 Kudos
Message 2 of 2
(4,552 Views)