Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - liyin

1
Bus Pirate Support / Re: Wrong PIC Detected
The thing is I don't want to use the STK500v2 firmware, even if it works I still need to go back to a normal firmware.

So the real problem is having AVRDude 5.10 and BP 5.9 working (you can see my post under AVRDude subforum), or go back to old bootloader/firmware.

I tried to flash bootloader 4.3 (BPv3-bootloader-upgrade-v4xtov4.3.hex), but I couldn't as the PICkit2 said the file was missing config words (or similar message).
3
Bus Pirate Support / Re: Wrong PIC Detected
1) I was able to flash using the bootloader routine ("$"), but after unplugging/plugging, the VREG LED is ON, like during the self-test, and no way to turn it off.

2) Do I have to go back to 4.1 to be able to use AVRDude? Problem is I'm not sure there's was a UART bridge functionality back then.
4
Bus Pirate Support / Re: Wrong PIC Detected
I flashed the bootloader with the PICkit, but I use the bootloader routine to flash any firmware with ds30Loader.

I rather use AVRDude and BP normal firmware (not working), rather than flash the STK500v2 firmware (not sure if it'll work), then go back to normal firmware to use BP as a UART bridge.

The BP passed the self-test without errors.
5
Bus Pirate Support / Wrong PIC Detected
As I can't program an AVR with the BP and AVRDude, I tried the STK500v2 firmware and got this error ...

Searching for bl .
Found dsPIC30F6013 fw ver. 9.9.9
Wrong pic detected(7)/selected(212), aborting
8
AVRDude / BP Not Responding
BP Firmware v5.9
AVRDude v5.10

Trying to upload bootloader to AVR, but can't get AVRDude to read the chip.
9
Bus Pirate Support / Re: Can't Upgrade BL/FW, Can't Find BL 4.4 Hex
Yep, probably was the baud rate, is working now.

The vendor selling these up to 8-pin header connector cables, sell them as "general purpose" cables, with no warning of switched pins, or maybe the machine making them is mixing the individual cables when inserting them in the housing, but 2 out of 3 cables is too high, considering the 3rd one is supposed to have individual cable connectors in one end.
10
Bus Pirate Support / Re: Can't Upgrade BL/FW, Can't Find BL 4.4 Hex
Keep ignoring the point of the FTDI chip, I suppose it does its job, being transparent.  :D

I sent [Enter] (0x0D) in Hercules (no VT100 emulation that I know of), but didn't get a response from BP (not even garbage), I thought I could at least play with hex values.
12
Bus Pirate Support / Re: Can't Upgrade BL/FW, Can't Find BL 4.4 Hex
No, v3a. I upgraded the bootloader to 4.4 (PICKit2) and the firmware to 5.9 (ds30 Loader+jumper).

When I try to use a terminal (Tera Term, VT100, CR/CR) to access the BP, the Mode LED turns on (no jumper), no output from BP.
13
Bus Pirate Support / Re: Can't Upgrade BL/FW, Can't Find BL 4.4 Hex
I connected the BP to USB (required if powering it from PICKit2 3.3V?), and noticed the 5&6-pin cables I have are not straight through cables, they switch two pins. Found a good cable and PICKit is now reading the chip.
15
Bus Pirate Support / Re: Can't Upgrade BL/FW, Can't Find BL 4.4 Hex
I upgraded the FTDI drivers (got a new COM 7), upgraded ds30 Loader with same settings as the one included with firmware/bootloader, and upgraded PICkit2 application with PIC24FJ bug fix.

Will keep trying: FTDI driver settings, PICKit2 to discard possibility of an issue with programmer (there's a message about checking target ???/VCAP), self-test.

To flash the bootloader with PICKit2 I need bootloader 4.4, where do I find the link?

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01622420392session_write_close ( )...(null):0
20.01652552008ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01652552784Database_MySQL->query( ).../DatabaseHandler.php:119
40.06032691536Database_MySQL->error( ).../Db-mysql.class.php:273