I have some problems trying to upload software to Nano Series devices.
I followed the next procedure:
- I connected the node to my Devboard.
- The name of the serial port is COM3. If I use the index for my FTDI device, it doesn´t work. I have to write COM3 in app.rules
- I typed make program to build my test application and program it to the device in the directory ~/NanoStack-v1.1.0-GPL/Examples/nano_example_n120
I have the message:
--- Build complete ---
../../Tools/nano_programmer/nano_programmer -d COM3 --program nano_example_n120.
hex
device:COM3
Programming mode.
Setup: Device COM3.
Serial port COM3 opened succesfully.
Select.
...and the software didn't upload. What should I do? Any idea?
Many thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It sounds like you are using Cygwin. Under Cygwin the current nano_programmer utility uses a version of the FTDI libraries that use an index rather than COMX.
So if this is the first FTDI device you plugged in, then it is 1. The second is 2 etc.
- Zach
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's exactly right, I'm using Cygwin.
I have installed FTDI driver (CDM 2.04.06 WHQL). Everything works properly, the device address is 0x01 but when I run nano_programmer, there's an error:
$ ./nano_programmer.exe -d 1
device:1
Setup: Device 1
Serial port open failed with error message: No such file or directory.
Any ideas?
Thank you,
Jonoe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This sounds like a Sensinode Devkit support question more, so I think you should direct the question to support@sensinode.com. There you will get this resolved quickly.
This forum is more on general NanoStack open-source questions, rather than product support.
Thanks,
Zach
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I have some problems trying to upload software to Nano Series devices.
I followed the next procedure:
- I connected the node to my Devboard.
- The name of the serial port is COM3. If I use the index for my FTDI device, it doesn´t work. I have to write COM3 in app.rules
- I typed make program to build my test application and program it to the device in the directory ~/NanoStack-v1.1.0-GPL/Examples/nano_example_n120
I have the message:
--- Build complete ---
../../Tools/nano_programmer/nano_programmer -d COM3 --program nano_example_n120.
hex
device:COM3
Programming mode.
Setup: Device COM3.
Serial port COM3 opened succesfully.
Select.
...and the software didn't upload. What should I do? Any idea?
Many thanks
May I ask what is your target device (CC2430/CC2431/or?) and what programmer are you using?
Hello,
The target device is CC2430 and nano_programmer v1.3 (nanostack v.1.1.0)
Thank you
Hi,
It sounds like you are using Cygwin. Under Cygwin the current nano_programmer utility uses a version of the FTDI libraries that use an index rather than COMX.
So if this is the first FTDI device you plugged in, then it is 1. The second is 2 etc.
- Zach
Hi,
That's exactly right, I'm using Cygwin.
I have installed FTDI driver (CDM 2.04.06 WHQL). Everything works properly, the device address is 0x01 but when I run nano_programmer, there's an error:
$ ./nano_programmer.exe -d 1
device:1
Setup: Device 1
Serial port open failed with error message: No such file or directory.
Any ideas?
Thank you,
Jonoe
Hi Jonoe,
This sounds like a Sensinode Devkit support question more, so I think you should direct the question to support@sensinode.com. There you will get this resolved quickly.
This forum is more on general NanoStack open-source questions, rather than product support.
Thanks,
Zach