Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Program chip does not work reliably (Error 6008)

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
StSch

Bascom Member



Joined: 08 Feb 2015
Posts: 8
Location: Heilbronn, Germany

germany.gif
PostPosted: Mon Feb 09, 2015 4:19 am    Post subject: Program chip does not work reliably (Error 6008) Reply with quote

"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 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 4975
Location: Holland

blank.gif
PostPosted: Mon Feb 09, 2015 11:06 am    Post subject: Reply with quote

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
Back to top
View user's profile Visit poster's website
EDC

Bascom Expert



Joined: 26 Mar 2014
Posts: 674

poland.gif
PostPosted: Mon Feb 09, 2015 1:53 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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