Hi!
I have normally used the cheap Arduino Nano from china and programmed these via the ch340 USB driver. Work perfect with FC8 no problem with uploading.
Yesterday I got an Arduino Nano (original) bought from RS Component. It is not possible to upload to this board from FC8. I tested it on Arduino IDE no problem. I try to use Xloader, load the hex file from Fc8 change the baudrate to 115200 works, upload the program to the chip.
When I use FC8 (and also FC7) I get the compilermessage:
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
. . . . . .
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_arduinoA.bat reported error code 255
When I look in Build > Project option FC8 see and recognize the board and see the Serial port number.
Maybe the baudrate? If is it possible to change this? or else Please.
I test with an Arduino Uno r3 original no problem.
Br Jorgen
Arduino Nano 328!
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino Nano 328!
Hi Jorgen,
It looks like we are defaulting to 57600 on the Nano.
You can change the baud rate by editing the definition file shown below using a text editor.
"C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARD\Arduino Nano 328.fcdx"
Line 11 looks like this.
Just change the BAUD rate to suit.
The COM7 automatically gets overridden with the selected port from Flowcode. Maybe we could make the BAUD rate adjustable too?
It looks like we are defaulting to 57600 on the Nano.
You can change the baud rate by editing the definition file shown below using a text editor.
"C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\ARD\Arduino Nano 328.fcdx"
Line 11 looks like this.
Code: Select all
<programmer exe="$(compileravr)batchfiles\avrc_arduinoA.bat" params="$(chipalt) arduino com7 57600 "$(outdir)$(target).hex"" UsesComm="1" />
Code: Select all
<programmer exe="$(compileravr)batchfiles\avrc_arduinoA.bat" params="$(chipalt) arduino com7 115200 "$(outdir)$(target).hex"" UsesComm="1" />
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Arduino Nano 328!
Hi Ben!
Thank´s . Before I test it, will it influence on the ch340 Chine Nano also?
And:
"The COM7 automatically gets overridden with the selected port from Flowcode. Maybe we could make the BAUD rate adjustable too?"
Absolutely, good option....
BR Jorgen
Thank´s . Before I test it, will it influence on the ch340 Chine Nano also?
And:
"The COM7 automatically gets overridden with the selected port from Flowcode. Maybe we could make the BAUD rate adjustable too?"
Absolutely, good option....
BR Jorgen
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino Nano 328!
Hi Jorgen,
Aha yes probably best to make a new version. Here's one I've done for you so the Chinese boards will continue to work correctly.
Let me know how you get on and I'll push it to the update system if it works ok.
Aha yes probably best to make a new version. Here's one I've done for you so the Chinese boards will continue to work correctly.
Let me know how you get on and I'll push it to the update system if it works ok.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Arduino Nano 328!
Hi Again!
Thank you. Ben is it a big job for you to add it in update, Then I am sure I not do anything wrong, please.
Gratefull
Br Jorgen
Thank you. Ben is it a big job for you to add it in update, Then I am sure I not do anything wrong, please.
Gratefull
Br Jorgen
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino Nano 328!
Hi Jorgen,
The file is part of the update system now.
Just do a full database update and you should get it.
The file is part of the update system now.
Just do a full database update and you should get it.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Arduino Nano 328!
Amazing Ben. Test it later this evening, and you hear.
Thank you very much. Have a nice weekend.
Br Jorgen....
Thank you very much. Have a nice weekend.
Br Jorgen....
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact: