Joined: 08 Feb 2015 Posts: 8 Location: Heilbronn, Germany
Posted: Mon Feb 09, 2015 4:19 am Post subject: Program chip does not work reliably (Error 6008)
"Program after compile" is enabled in the programmer settings. Clicking on "Compile program (F7)" compiles and uploads my very basic sample program. Subsequent invocations fail (see screenshot), I have to unplug and reconnect the USB cable before the chip is programmed properly again. My evaluation board comes with a USB to UART Bridge (FTDI FT232RL) to program the chip. Any idea what is causing the problem and how to fix this issue?
Regards,
Steffen
(BASCOM-AVR version : 2.0.7.5 , Latest : 2.0.7.8 )
you need to check the programmer options. i do not know what hardware you use, and how reset is connected to the FT232 chip. But under options, programmer, mcs bootloader you will find options to reset using DTR or RTS.
While i always use DTR your hardware might use RTS or something else. if the programmer can not reset the processor a new program cycle will not work.
when your board has a reset button, you could press that too. _________________ Mark
Hello. If Your EvBoard comes with dedicated Bootloader and separate PC program to upload code into the Chip then You must choose "External Programmer" and show path of this programmer in Bascom IDE. Then if You clik Compile and Programm new window with Your external programmer pop-up.
To pass HEX file into Your external programmer You can use {FILE} parameter (type in parameter window "{FILE}")
If you don`t have any bootloader in Your EvBoard then before You can use MCS Bootloader You must install it in Chip
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum