Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Bootloading Atmega328p-pu with USBTiny AVR Pocket Programmer on: January 28, 2013, 09:45:53 am
`ll have to look up section 27-28, but I still don`t understand, why I`m not simply programming the bootloader. It`s only a little programm, executing instruction after instruction. I also wonder why this proramm is nowhere to be found, it`s got to be a .hex file. Ok, there are different ones for different controllers.
As far as my understanding on ┬Ácontrollers goes, the `328 must receive and give commands over its serial interface through its usb from the Ardu sw, to and through the programmers usb to the programmer, which not only talks back and forth to the Ardu sw, but also flashes the `328`s memory with data from the bootloader.hex. So 2 usb`s communicating, and the `328 communicates with Ardu sw while being programmed, with data comming from Ardu sw.
Maybe Ardu sw is telling the prorammer where the boot.hex is?
I found out about how to install the bootloader from this source:
Is there any Arduino publication about it? I mean this is so far out, ... I`ve never even heard of anything like it, if someone would have told me, I would not have believed it.
Very complicated. 
Thanks anyway

2  Using Arduino / Installation & Troubleshooting / Re: Bootloading Atmega328p-pu with USBTiny AVR Pocket Programmer on: January 27, 2013, 01:06:22 pm
can some one explain maybe in short, what is actually going on, bootloading arduinos?
2 Usb connections! I finally got it working, but why so complicated?
When I bought the avr pocket programmer I thought thats all I would need, connect it to the ISP connector of the chip e.g.ATmega328P, add a resonator and programm it.
Instead of using an IDE I thought I`ll be using the Arduino Software.

I got it working, but don`t have a clue how.

Thanks for any explainations,

John  smiley
3  Using Arduino / Installation & Troubleshooting / Ardu po mini 328 5V programming with FTDI cable on: February 27, 2012, 03:19:54 am
I`m trying to programm my ardu pro mini 328 5V with a FTDI cable, but it`s not responding.
The driver should start automatically, but it isn`t.
Is there some way of troubleshooting? I spotted a driver located at windows\system32, it`s there. Plugging in the usb should light a green led on the board - but it doesn`t.
appreciate any help
4  Using Arduino / Installation & Troubleshooting / Arduino file format ? on: December 26, 2011, 09:06:51 am
Hi guys, being completely new to arduino, I am starting to partly like it, because of it`s simplicity, but on the other hand I`m confused, here`s why:

I am used to generate .c files, . h files, compiled .hex files and so on

Am I right that instead of . c format the .pde format is being used, and .h files for header files using arduino software?
Or writing code, what file format should it have?

An other problem:
I find it very difficult to work with the ardu pro mini 5V atmega328 - very easily isp with the usb ttl cable, most pins on the little board are neatly labeled with numbers or letters, but - no usefull documentation -   smiley-roll
I mean there is documentation in form of eagle schem and board, but they don`t correlate to the pins of the board.
The schematic shows connectors numbered completely different to the ones on the board, so when I read the source code of - for example - blinky, I read green led on pin 13, while on the schematic it is JP6 that reads SCK pin 9.  JP6, and JP7 simply display wrong numbers. Is there any other dcumentation than this eagle drawing for the board?
Atmega 328 manual showes SCK pin 17 on the chip. But there you don`see that there is externaly circuitry with a led attached to it on the board.
How would I find out for example what is connected to A3 on the board? - without high lighting the wires on eagle .brd?
5  Using Arduino / Installation & Troubleshooting / Re: Complete newbe has some elementary questions on: December 26, 2011, 07:31:04 am
Thanks a lot, I guess it works just like any other ide.
6  Using Arduino / Installation & Troubleshooting / Hi Blinky doesnt perform on: December 25, 2011, 05:25:26 pm
Hi, This are the 2 error calls:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

 I`m using arduino 0023, selected board pro mini 5V, atmega 328, examples - basics - blinky, pin D13.

No blink at d13, but red errors

can anyone point me into the right direction?.
7  Using Arduino / Installation & Troubleshooting / Complete newbe has some elementary questions on: December 25, 2011, 03:23:35 pm
Hi guys, I`m completely new to arduino, but have some pic IDE expirience.

I`m used to start a project, where I have my libraries, includes, heades  and files.
How is that done with arduino exe?

I have got main code, I`ve got a header file, libraries, where do I put those and how to I go about programming my ardu pro mini 5V with the TTL cable?


Pages: [1]