Skip to main content

Show Posts

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

Messages - orbitroniks

1
USB Infrared Toy / Re: Newly Built IR Toy V3 not working
Well this is bizarre, after realising my IR emitter diode had an incorrect polarity, the device started working, but there's still no voltage to the power LED.

EDIT: ok ,  i realised it's not an always on LED, feel like an idiot now!
3
USB Infrared Toy / Solved: Newly Built IR Toy V3 not working
Hi,

I hope someone can help me figure out what's wrong and any help will be greatly appreciated.

I got my V3 Ir toy board and quickly populated it. after a day of playing with it in a non-working condition i can tell you, the power LED only turns on for a flash (split second) when you first attach the 5V, the LED never stays on. what's stranger is my PICkit2 see's the MCU, and i can upload the hex, but the tester always returns FA22 as i'm able to see the COM port.

I've reflowed twice, gone over each point with an iron a few times, driving me a bit mad.

Here are some pics,

[attachment=1]

[attachment=0]

Any help is welcome!
4
Bus Pirate Support / Re: Can't program bootloader on BP3 from BP4
EDIT: false alarm, it reads the right device ID but still 0x00 for device REV. but the fact that a different firmware on the BPv4 can read the correct device ID from an incorrect one tells me this is a fault of the BPv4. I wish i had a pic programmer to confirm this.

SOLVED Half THE PROBLEM.

turns out all the new firmwares for the bpv4 break picprog up to Firmware v6.1 r1676.

Only this firmware recognised the right pic! Unfortunately nothing was uploaded to the bpv3.

This is the output:
[attachment=0]
5
Bus Pirate Support / Re: Can't program bootloader on BP3 from BP4
I decided to probe what was going on on the ICSP pins.

This is my setup:
[attachment=1]

And i was aiming to match this image that shows how to get into icsp programming mode, taken from the DP protopic wiki page:


And this is what i captured:
[attachment=0]

I'm very new to PIC programming, i know lots about AVR and close to zilch about PIC - does this look right?
6
Bus Pirate Support / Re: Can't program bootloader on BP3 from BP4
[quote author="Sjaak"]You are sure you used the right chip on the new buspirate? It says the device-id is wrong (it is detecting an other PIC)[/quote]
Hi, and thanks for your reply.

I'm pretty sure i'm using the right chip, i've taken some photos. It showing 0x0 for rev id does look wrong too.

Code: [Select]
PIC24FJ64GA002-I/SS

Continuity checks finds no faults. I'm really confused here. (I am entering the picprog command right after plugging the bpv4 in).

Where it says 'CS --> VPP/MCLR' i've gone ahead and attached CS on BPv4 to just MCLR. Is this correct?

I've just been wondering, that the intended LEDs have  Vf of 2.2V, where as the LEDs i've used have Vf 3.3v. This might sound stupid, but could that difference cause issues with power during programming?

It's quite strange as i get 'file is invalid' when i try to upload my other 2 jpegs, and can't paste the links as i get told it's spammy - the image below should be clear but i have another two just incase that i'll upload after i've been a member for 24 hours.
7
Bus Pirate Support / Can't program bootloader on BP3 from BP4
I've just finished building my BP3, and am trying to program the bootloader with my BP4 using:

Code: [Select]
picprog -p buspirate -u COM3 -s 115200 -c 24FJ64GA002 -t HEX -w BPv3-Bootloader-v4.4.hex -E -V
COM3 is my BP4. -c is my target mcu. Using picprog v0.2

But i keep receiving this:

Code: [Select]
Found '24FJ64GA002' in programming database :) index = 2
Checking for 24FJ64GA002 attached to programmer...

Wrong device: 0X4704 (ID: 0X4704 REV: 0)

Version info for the programmer (BPv4):

Code: [Select]
Bus Pirate v4                                                                   
Firmware v6.3-beta1 r2151                                                     
DEVID:0x1019 REVID:0x0004 (24FJ256GB106 UNK)

I've not found any shorts and both of the programming pins are not shorted to ground. Any help would be greatly appreciated!
8
Pirate PIC programmer / Re: Bus Pirate PIC programmer v0.1 (continued)...
I've just finished building my BP3, and am trying to program the bootloader with my BP4 using:

Code: [Select]
picprog -p buspirate -u COM3 -s 115200 -c 24FJ64GA002 -t HEX -w BPv3-Bootloader-v4.4.hex -E -V


COM3 is my BP4. -c is my target mcu.

But i keep receiving this:

Code: [Select]
Found '24FJ64GA002' in programming database :) index = 2
Checking for 24FJ64GA002 attached to programmer...

Wrong device: 0X4704 (ID: 0X4704 REV: 0)

I've not found any shorts and both of the programming pins are not shorted to ground. Any help would be greatly appreciated!

EDIT: have made a new thread viewtopic.php?f=4&t=8059