Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LLe-M
Novice
1,476 Views

Cannot upload due to com port/ttyS

I cannot up load through the arduino Ide to my edison board.

In the clupload shell script has:

C:\IntelArduino/hardware/intel/i686/tools/izmir/clupload_win.sh: line 30: $'\r': command not found

# COM ports are not always setup to be addressed via COM for redirect.

# /dev/ttySx are present. Howwever, COMy -> /x where x = y - 1

for some reason it does not change my Comy

eg

COM PORT 34 becomes dev/tty33

but for me it remains dev/tty

0 Kudos
13 Replies
idata
Community Manager
183 Views

Hi maymayv,

 

 

That's a weird problem, can you please send me a screenshot of your device manager (Ports (COM & LPT) open)?

 

 

And can you send me a screenshot of the error that you are getting in the Arduino IDE?

 

 

I will be waiting for your reply to help you more.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
LLe-M
Novice
183 Views

Hello!

It is quite weird as it only has occurred recently, I did not have this problem at all, for the past few months!

device manager:

Arduino :

Thanks in advance!

Have a nice day !

Regards,

~May

idata
Community Manager
183 Views

Hi maymayv,

Looks like your issue is not in the device manager. I just uploaded a sketch in my Edison without problems with the latest version of Arduino IDE, take a look at the next photo:

What version of Arduino IDE are you using? I recommend you to use the latest version 1.6.12 to upload your code, because it is a weird issue.

Let me know if it works.

Regards,

 

-Leonardo
LLe-M
Novice
183 Views

hello!

I am using 1.6.0, though I had no problems with it before?

I thought I had might of changed the clupload_win.sh file, but I still had the problem directed to that script. when i re-downloaded it.

I will try 1.6.12 and let you know

Thank you!

regards,

~May

idata
Community Manager
183 Views

Hi May,

 

 

Great! I will be waiting for your updates.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
LLe-M
Novice
183 Views

idata
Community Manager
183 Views

 

Hi May,

 

 

Why don't you try to use an example sketch? It should work without problems.

 

 

Are you using the AVR library in your code? I'm asking this because there are several libraries that have been written for Aduino architecture which is AVR, and unfortunately they won't work with Edison since the architecture is different (x86).

 

 

And did you check the libraries directory? Are there the missing libraries?

 

 

I will be waiting for your answers.

 

 

Have a nice weekend.

 

 

Regards,

 

-Leonardo
LLe-M
Novice
183 Views

Hello Leonardo,

The example sketches also do not load. I am not using the AVR library, there seems to be no problem in the compiling at all.

Only upon uploading there is a problem in the clupload_win file. I have tried changing to code to explicitly upload to my port number but still it does not recognise.

Though, I can upload to Arduino uno.

Have a nice day,

Regards,

~May

idata
Community Manager
183 Views

Hi May,

 

 

I'm not sure why this is happening to you, let me investigate a little more and I'll let you know when I have updates about it.

 

 

I appreciate your patience.

 

 

Regards,

 

-Leonardo
idata
Community Manager
183 Views

Hi May,

 

 

I'm not sure why the issue is happening, but it seems related to the Arduino IDE installation. I have never had this problem and it is very weird.

 

 

I recommend you to uninstall every Arduino IDE, to avoid any possible interference in your PC. Then, install the Arduino IDE 1.6.5. It seems that this version is the one that works better with Edison (check this thread: https://communities.intel.com/thread/107174 https://communities.intel.com/thread/107174).

 

 

Let me know if it works.

 

 

Thank you for your patience.

 

 

Regards,

 

-Leonardo
idata
Community Manager
183 Views

Hi May,

 

 

Did you install the Arduino IDE 1.6.5? Do you still have issues with it?

 

 

Please let us know the outcome of my recommendation.

 

 

Regards,

 

-Leonardo
LLe-M
Novice
183 Views

Hello Leonardo,

Sorry For the late reply,I did install 1.6.5 (although I was unable to uninstall 1.6.0) and it is now uploading. Thank you very much.

Have a nice day!

Regards,

~May

idata
Community Manager
183 Views

Hi May,

 

 

That's great.

 

 

Remember that we are here to help, just contact us.

 

 

Have a nice weekend.

 

 

Regards,

 

-Leonardo
Reply