After a long thread in another section.. that morphed in to help on getting the board to upload a sketch.. I figured move it to here for better coverage and appropriate organization.
Summary.. I have a SCAB board. (Some Custom Arduino Board)....<---wakka wakka wakka..
that was designed...
pcb's order..
I got all resources.. assembled using solder paste, paste stencil. and toaster oven to re-flow:
here is finished board:
After re-position a component correctly.. (buffer chip was 180 degree rotated)
I had tried to get a bootloader on it.. (and found I had some bridges).. those were fixed as well..
And I used Optiloader 4.4 (I think) to finally get a bootloader flashed to my chip to be able to upload sketches..
(side question, what is the difference between optiloader & optiboot I see around here?)
Here is my results, from Optiloader 4.4:
OptiLoader Bootstrap programmer.
2011 by Bill Westfield (WestfW)Target power on! ...Starting Program Mode [OK]
Reading signature:950F
Searching for image...
Found "optiboot_atmega328.hex" for atmega328
Start address at 7E00
Total bytes read: 502Setting fuses for programming
Lock: 3F FFE000 Low: FF FFA000 High: DE FFA800 Ext: 5 FFA400Programming bootloader: 512 bytes at 0x3F00
Commit Page: 3F00:3F00
Commit Page: 3F40:3F40
Commit Page: 3F80:3F80
Commit Page: 3FC0:3FC0Restoring normal fuses
Lock: 2F FFE000Target power OFF!
Type 'G' or hit RESET for next chip
Which I was told me success. (thank god)..
My SCAB (arduino based circuit).. does NOT have the RESET pin broken out.. only the DTR pin.. (making the bootloader part a bit hard to hold a wire on the REST pin manually)
Anyways.. moving on...
I wanted to use my hacked FTDI cable.. (2302 pro-lific..usb/serial) cable....
Which I cut open.. soldered on new leads... bring out 5v+, GND, RX, TX... (there was no RESET or DTR that I could find to break out/use)
I heatshrunk it all up....etc.. (make a legend/map of the pins/color)...
I have have used it with standalone Arduino circuits in breadboards before.. no problem. however, in those projects.. they all have the RESET switch, that I manually press when the text display in the Arduino IDE.. to reset bootloader and take uploaing sketch.
this SCAB board.. is not a breadboard.. is a pcb.. with no RESET switch.
I feel I have tried almost EVERYTHING I can think of and suggested to reset this board..ad get it to take the sketch appropriately.
I have tried the following:
1.) tried to short/bridge/jumper the DTR pin to GND pin (right next to each other).. using jumper wires.. and a momentary switch.
I have also tried it while shorting/jumpering the cap for DRT/reset as well.
holding the switch DOWN until I see the IDE text display.. and letting go..
as well as just my old approach of hitting the button only when I see the text displayed in the IDE
2.) I have tried installing a switch/jumper wire between the RESET pin directly on the Atmega chip..and GND.. between the reset resistor...
*this at least gives me the 'red light' blinking.. like the board was 'reset' (only blinks like once/twice though..not like uploading a sketch blinking)...etc.. but no sketch gets uploaded..
I am stuck...and am not sure what I can do to either check other aspects.. or alternate approaches to try getting a darn sketch uploaded to this board.
I started to think maybe getting a retail FTDI cable would be best...'but' the DTR pin doesnt seem to do ANYTHING when grounded..... and there is no RESET pin broken out (accidental error/oversight on the schematic/pcb developer I guess.. and too late now, cause I already have PCB's made an din hand!) LOL
So if anyone has some suggestions on how I try to over come this obstacle.. I appreciate it.
Thanks