Welcome! Log In Create A New Profile


Unable to Reset a BV507 V3c

Posted by rjh 
Unable to Reset a BV507 V3c
March 26, 2016 05:05PM
Hi, I am having a problem with a BV507. It is connected to a PC via a USB to serial link module. I’ve successfully been able to run trivial programs on it to display data on the oLED and back to the PC via bvserial and to respond to key presses on the front panel. However, whilst trying to get to grips with Wi-Fi, I flashed the ESP8266 script file (http://www.byvac.com/mBlib/flb/Library/wifi/ESP8266_DHT.script) into memory, thinking to utilise some of the wifi functions it contains. I didn’t notice the main() at the end which proptly ran.
On power up I now get (via bvserial);

To stop the server remove the link between C9 and ground
Problem cant start server
Resetting server

The wifi is not configured (red led continuously flashes) and the BV507 does not respond to commands such as '.r', 'flclear(0)' via the USB to serial link. I’ve tried ‘.loopbreak’ which just responds with ‘tmp=’
Any surgestions how to reset and clear the boards memory to start again?
Re: Unable to Reset a BV507 V3c
March 26, 2016 05:32PM
update the BV507 firmware using the .bl command the firmware is on http://www.bypic.co.uk/index.php/ByPic_Firmware.

Open the zip file and use BP1_MX170_FP.bin in the boot folder.

The firmware can ALWAYS be re-loaded no matter what has been saved to flash, so it is a fail safe get out.

The script file to use is on this http://www.byvac.com/index.php/BV507 page, rather then using the one from the BV508 tutorial. Choose the one that suits you best D1 to D4, feel free to modify the contents.
Re: Unable to Reset a BV507 V3c
March 26, 2016 06:49PM
Hi, Thanks for the speedy reply. I've just tried to update the firmware on the BV507 as you suggested (using v2.30 Serial 201401063, downloaded, unzipped & stored my PC) and get fail code 6. Any ideas?

bvserial screen shows

--- boot string =p32bl -v 4 115200 1d000000 256 6 C:\boot1\boot\BP1_MX170_FP.bin

ByVac - Boot PIC32 Programer v2.0 www.byvac.com

Port string=115200,8,N,1
File name=C:\boot1\boot\BP1_MX170_FP.bin

File name C:\boot1\boot\BP1_MX170_FP.bin flash start 1d000000
Detecting boot loader version
Boot loader version 1
Boot loader not detected

Fail Code =6--- return code=6
Re: Unable to Reset a BV507 V3c
March 27, 2016 09:26AM
Hi, All sorted !
The fail code 6 is obviously what you get when DTR is not properly connected on the USB to serial device (my bad!). Once DTR is correctly connected, the boot-loader all works as it should. Many thanks RJH.
Sorry, only registered users may post in this forum.

Click here to login