Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #15 on: June 17, 2012, 04:02:02 pm » |
Async serial idles "high" on the Arduino. That is, +5V is normal, on both pins, if they are doing nothing. Mind you, it is the sending end that would be doing the idling. So, unconnected to anything, I would expect the Tx pin to be high, and the Rx pin to be low or not determined. But if you are using an FTDI cable, I would expect both pins to be high.
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #16 on: June 17, 2012, 05:06:10 pm » |
ive ordered a new usb to ttl converter, im sure its duff, the circuit is 100% and ive tryed it with known good ic's, ive also noticed the leds on the board tx, and rx flash very weak as well
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #17 on: June 19, 2012, 07:00:09 am » |
right,
ive got a new usb/ttl converter, still not working on the above 168 chip, but taken out the 168 and put in a 328 chip works fine, so the circuit is ok and converter is ok, ive tryed every 168 option ans still docent download, this is the error im getting, any ideas?
avrdude: stk500_getsync(): not in sync: resp=0xc0
|
|
|
|
|
Logged
|
|
|
|
|
Atlanta
Offline
Full Member
Karma: 4
Posts: 128
|
 |
« Reply #18 on: June 19, 2012, 07:25:53 am » |
Sounds like you burned a 328 bootloader into a 168 chip
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #19 on: June 19, 2012, 07:36:45 am » |
thanks abrookfield, i will try to to burn a 168 again
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #20 on: June 19, 2012, 10:07:08 am » |
i really am loosing the will to live,
ive re-burnt the bootloader 168, burns it ok, then go to download a sketch into a 168 sketch its just not playing, ive got the latest version 1.0.1.
ive even used another 168 chip, still does the same as above
|
|
|
|
« Last Edit: June 19, 2012, 10:21:20 am by jonisonvespa »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #21 on: June 19, 2012, 04:04:07 pm » |
What are you doing to ensure that the chip resets when you try to upload a sketch?
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #22 on: June 19, 2012, 04:06:23 pm » |
hi nick, im switching 0v to pin 1, just seems really strange i can download a sketch to a 328 chip on a bare board then put in a 168 into same board and it wont work, ive tryed a few168s seems to load the bootloader no problem. just wondering if there is any other software i could use to download ? thank you
|
|
|
|
« Last Edit: June 19, 2012, 04:10:24 pm by jonisonvespa »
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #23 on: June 20, 2012, 11:59:19 am » |
ok now really desperate now got the camera out may be clutching at straws but, is this the correct connection for the ribbon cable? its exactly like in the ebay edvert, and it does burn the bootloader so must be correct?
sorry for the large pic, but looks good in focus!
|
|
|
|
« Last Edit: June 20, 2012, 12:06:39 pm by jonisonvespa »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #24 on: June 20, 2012, 04:26:54 pm » |
ive ordered a new usb to ttl converter, im sure its duff, the circuit is 100%
Is that really a USB to TTL converter in the photo? In that case you don't plug it into the SPI (ICSP) pins.
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #25 on: June 20, 2012, 05:51:27 pm » |
hi nick, no its the usbtinyisp bootloader programmer.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #26 on: June 20, 2012, 06:52:15 pm » |
Right. Well you don't use that to upload using the bootloader. The bootloader uses the serial ports.
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #27 on: June 21, 2012, 02:29:25 am » |
hay nick i wasnt using the usbtinyisp to try to upload sketches, i was using it to download the bootloader onto the ICSP header. the USB to TTL cable works perfectly on a 328 ic downloading sketches, (pins 2/3 rx/tx) but will not download a sketch to this 168 ic same circuit. 
|
|
|
|
« Last Edit: June 21, 2012, 02:43:31 am by jonisonvespa »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #28 on: June 21, 2012, 02:47:29 am » |
(3878.05 KB, 3888x2592 - viewed 2 times.)
These 3 Mb pictures are a bit ridiculous. Can you stop doing that? They are too big to fit on the screen, so if we have to resize them to view them, you may as well save 5 minutes of downloading time by resizing them at your end.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #29 on: June 21, 2012, 02:50:22 am » |
i wasnt using the usbtinyisp to try to upload sketches, i was using it to download the bootloader onto the ICSP header.
the USB to TTL cable works perfectly on a 328 ic downloading sketches, (pins 2/3 rx/tx) but will not download a sketch to this 168 ic same circuit.
Right, so that earlier picture wasn't relevant? I can't see from that photo, large though it might be, what you have wired to what.
|
|
|
|
|
Logged
|
|
|
|
|
|