n00b question?, Which settings USB2UART + EmonTX programming? programmer is not responding

Got my first EmonTX kit today and soldered it together, feeling a bit nostalgic but enjoyed it!

I've looked at two threads about htis topic but couldn't solve it..
Dead USB programmer
EmonTx usb to Uart

 

Using Arduino IDE on OsX 10.8

Now the manual stops after it tells you what libs to install. I got it compiling correctly however uploading gives the error: 

avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

Could some one please add the next steps to the manual (I'll volunteer as soon as I get it working) for building the EmonTx board after it compiles and needs to get programmed? (or did I miss part two how to program the board)

- How to plugin on the USB2UART plug on the board? (how to know which side is front of the programmer)

- Install the correct driver ( I took the driver from Slabs but also read these are not always working)
drivers from here: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
v3.1

- Which settings to set Adruino IDE on.. ( I tried them all but all turn into the same error programmer is not responding)

Board: Arduino Uno
SerialPort: /dev/tty.ANTUSBStick.SlabVCP
Programmer: AVRISP mkII

In my syslog file i get several errors like: com_silabs_driver_CP210xVCPDriver64(0xffffff802d331000)::message

 

I am also using a JeeLink and installed drivers for that stick as well. As the USB2UART plug form OpenEnegyMonitor was not reconized I installed additional drivers from the Silabs webside.

 

Anybody recognizing what I am doing wrong that I keep on getting this error ?
In my final attempt to debug the USB2UART plug I was thinking of the following: If I connect the Rx & TX on the USB2UART plug should't I be able to see al the chars I enter get echo'd on teh Arduino IDE Serial Monitor?

Thanks for helping out..

 

Wxll

PS 3.3 volt on the board so far the power seems to be working but no led flashing or burnign on the eMonTX board, only the blue led of the USB2UART plug.

Robert Wall's picture

Re: n00b question?, Which settings USB2UART + EmonTX programming? programmer is not responding

I can only help with "How to plugin on the USB2UART plug on the board? (how to know which side is front of the programmer)"

Identify which end of the header is GND - Either read it off the silk screen (yes it's there!)  or look for a connection to the ground plane on the EmonTx;  on the converter it's marked (on the shop version anyway). Then put a blob of paint on the headers to make it easy to recognise in future.

You won't see a flashing LED until you load a sketch - the Shop kit has a bootloader, but it doesn't come pre-programmed with a sketch.

I think Robin runs OSX so he might be able to help.

 

And yes, the blue light on the programmer is always on.

Wxll's picture

Re: n00b question?, Which settings USB2UART + EmonTX programming? programmer is not responding

Thank you!

I tried a Win XP and it all worked thank you Robert!

 

Wxll

calypso_rae's picture

Re: n00b question?, Which settings USB2UART + EmonTX programming? programmer is not responding

Wxll: If you're still unable to get your rig working via OSX, I may be able to help but am no expert in this area.  My PowerPC Mac runs OS-X 10.5, and I seem able to communicate OK with an emonTx via the serial programmer.

When communicating with an Arduino via a passive USB cable, the sketch conveniently restarts every time that the Serial Monitor's window is re-opened.  This means that serial output is never lost.  With the active programmer that the emonTx requires, the sketch does not restart each time, which can be a problem.

One way around this difficulty is to arrange some convenient way of re-starting the processor.   The reset pin of the processor is routed to one of the pins in the SPI/ISP field, and there is a GND pin immediately opposite, see photo.  When these two pins are temporarily connected (the green and yellow wires in my case), the processor will restart.  If the serial window is already open, no start-up information will be lost.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.