I have started using PMOD BLE recently and I can make a connection in between BLE and PC using a terminal (with Nexys4DDR making a direct connection in between).
However, when I write a VHDL code, describing what I made on the terminal one by one, the BLE device stucks at rebooting.
For both applications I use the following sequence that is described in "RN4871_user_guide.pdf" page 59 :
- Send $$$
- Wait a second
- Send SS,40<CR> (this is to select UART Transparent feature only)
- Wait a second
- Send R,1<CR>
- Wait a second
- Wait for an ASCII entry
but, at "R,1<CR> ", the BLE device turns the blue LED on (which is LD1 on schematic) and it does not shuts it off no matter what. While so, (I mean when the LED is ON) the iOS application SmartDiscover (or anyother terminal) cannot see the module. So, I cannot reach the device at all.
Besides, the device returns this when connected via PC terminal (through cable) => CMD> AOK<\r><\n>CMD> Rebooting<\r><\n>%REBOOT%
and returns this when FPGA communicates with the device directly => CMD> AOK<\r><\n>CMD> Rebooting<\r><\n>
so, it does not return me %REBOOT% string, but seems like it stucks at some point where it is trying to reboot itself.
Any help with this would be very nice at this point,
Question
beraicli
Hi,
I have started using PMOD BLE recently and I can make a connection in between BLE and PC using a terminal (with Nexys4DDR making a direct connection in between).
However, when I write a VHDL code, describing what I made on the terminal one by one, the BLE device stucks at rebooting.
For both applications I use the following sequence that is described in "RN4871_user_guide.pdf" page 59 :
- Send $$$
- Wait a second
- Send SS,40<CR> (this is to select UART Transparent feature only)
- Wait a second
- Send R,1<CR>
- Wait a second
- Wait for an ASCII entry
but, at "R,1<CR> ", the BLE device turns the blue LED on (which is LD1 on schematic) and it does not shuts it off no matter what. While so, (I mean when the LED is ON) the iOS application SmartDiscover (or anyother terminal) cannot see the module. So, I cannot reach the device at all.
Besides, the device returns this when connected via PC terminal (through cable) => CMD> AOK<\r><\n>CMD> Rebooting<\r><\n>%REBOOT%
and returns this when FPGA communicates with the device directly => CMD> AOK<\r><\n>CMD> Rebooting<\r><\n>
so, it does not return me %REBOOT% string, but seems like it stucks at some point where it is trying to reboot itself.
Any help with this would be very nice at this point,
Thanks in advance,
Bera
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.