Go Down

Topic: 1284p bootloader problem with serial? (Read 615 times) previous topic - next topic

uno23

Hi, in my project ATMEGA 1284p processor with display touchshield slide  , rtc, sd and some sensor when i upload sketch witch avr programmer all it's ok and work fine but when i try to use boot loader Mighty optiboot 16 mhz bootloader when i upload sketch the serial port don't respond? and arduino ide 1.0 dump this errors:

Code: [Select]
processing.app.SerialException: Error opening serial port '/dev/ttyUSB0'.
at processing.app.Serial.<init>(Serial.java:146)
at processing.app.Serial.<init>(Serial.java:76)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:75)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2323)
at java.lang.Thread.run(Thread.java:679)
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:171)
at processing.app.Serial.<init>(Serial.java:136)
... 10 more
processing.app.debug.RunnerException: Error opening serial port '/dev/ttyUSB0'.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:99)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:88)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:66)
at processing.app.Sketch.upload(Sketch.java:1664)
at processing.app.Sketch.exportApplet(Sketch.java:1624)
at processing.app.Sketch.exportApplet(Sketch.java:1578)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2314)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2323)
at java.lang.Thread.run(Thread.java:679)


How i can solve this issue? Thank

Marco

westfw

Quote
processing.app.SerialException: Error opening serial port '/dev/ttyUSB0'.

This is a PC-side issue; probably you have the wrong serial port specified.

uno23

mmm i don't think if i try with arduino uno all it working fine....
how i can debug it?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy