Hi all
I have used the flow code system for a while but never on Arduino before. I wanted to shorten a project and chose the 5v pro mini module.
My project would not compile to target, so I also wrote a simple test project which would also not compile to target.
I switched to the Arduino programing tool which would program the pro mini board, so I guess I may have an error in the compile set up.
My laptop running flowcode is connected to the pro mini using a FTDI programmer and the FTDI driver is being loaded. This set up works ok using the Arduino program.
Here is the error message I get:-
C:\flowcodefiles>REM DIR: FCD\AVR\batchfiles\avrc_arduinoA.bat
C:\flowcodefiles>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avrdude.exe" -pm168 -PCOM10 -b19200 -carduino -D -Uflash:w:"headset-01.hex"
. . . . . . . . . . . . . . . . . . .
avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
I have checked the that the 5v version of the board is selected and automatically it shows a 16Mhz clock for the devise, and I have the correct USB port selected.
Any help appreciated.
Tinker
Arduino pro mini error -not programming
-
- Posts: 25
- http://meble-kuchenne.info.pl
- Joined: Mon Sep 19, 2022 11:19 pm
Re: Arduino pro mini error -not programming
Solved. well the programming bit is solved.
Having bought a Arduino Pro-Mini with 5v 16Mhz clock, and a 328 chip. in the flowcode system I selected the Arduino pro mini 5v 16mhz and did not check to see what processor that had embedded. When I finally figured this out I noted that the selected device had a 128 processor with no option to switch. So I reconfigured my sketch for the Arduino Nano which has the 328 chip, and the program now uploads ok.
As an aside my LCD display with is I2C is not working, and I have to look for a flowcode compatible device to the purchased LCD2004. Work in progress.
Having bought a Arduino Pro-Mini with 5v 16Mhz clock, and a 328 chip. in the flowcode system I selected the Arduino pro mini 5v 16mhz and did not check to see what processor that had embedded. When I finally figured this out I noted that the selected device had a 128 processor with no option to switch. So I reconfigured my sketch for the Arduino Nano which has the 328 chip, and the program now uploads ok.
As an aside my LCD display with is I2C is not working, and I have to look for a flowcode compatible device to the purchased LCD2004. Work in progress.
Re: Arduino pro mini error -not programming
OK, the LCD not working was due to selecting the GROVE I2C display from the options given. My code had the correct address and my scope showed clock and data present, yet the display showed nothing. Long time back I remember making the same error when programming in the early days a 16F type pic and this choice of display would not work then also.
I replaced my display choice with an LCM1602 from the drop down menu and changed the address, and it now works fine.
I replaced my display choice with an LCM1602 from the drop down menu and changed the address, and it now works fine.