Can anyone explain to me how to update the bootloader on an AST-CAN486 board? It’s giving me an error and won’t let me load my program.
Thanks
Can anyone explain to me how to update the bootloader on an AST-CAN486 board? It’s giving me an error and won’t let me load my program.
Thanks
Are you trying to flash a new bootloader or are you trying to flash the main program instruction space?
Hi Brandon, Thanks for getting back to me.
I want to replace my program which I loaded previously. However, the board is not responding to the FTDI interface. I did some research and found people mentioned refreshing the bootloader. I just want to refresh my program. The board is still working but my program needs an update.
If you see my original post, here’s the error I’m getting when I try to replace my code:
I have an ast-can485 board. I built it into an electric vehicle last year, (April 2019) and it’s been working fine. Recently, I wanted to update the program, but I get the following error when I try to upload the program:
avrdude: verification error, first mismatch at byte 0x0000
0x14 != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch
Happen to know if your FTDI device is sending the low signal on the DTR(GRN) line? It is possible that while uploading a sketch the processor is not getting the reset signal to flash new sketches.
Hi John,
Thanks for the reply. The DTR/GRN pin is at 5v during the sketch upload attempt. I assume that means it’s high.
Wait! On further testing, I can see the DTR pin go low during upload. It’s at 5v before upload, goes to 0v during upload and then returns to 5v. Sorry for the earlier reply. I didn’t look closely enough. It’s not a huge sketch and uploads pretty quickly.