Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

[problem] program arduino uno r3 at win7

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

Bascom Member



Joined: 22 Jan 2015
Posts: 38

PostPosted: Tue Jul 21, 2015 3:53 pm    Post subject: [problem] program arduino uno r3 at win7 Reply with quote

i have problem to program arduino uno r3 in win7 32bit
-----------------------------
i make all setting correctly
and working good at winxp in another pc
-----------------------------
i use this seeting
http://wiki.mcselec.com/Getting_started_with_Arduino_UNO
c:\arduino-1.0.3\hardware\tools\avr\etc\
-v -F -C c:\arduino-1.0.3\hardware\tools\avr\etc\avrdude.conf -p m328p -P com8 -c arduino -b 115200 -Uflash:w:{FILE}:a
baud 115200
---------------------------'

---------------------------
use bascom 2.0.7.5
at winxp good working
at win7
when i send code to board (tx and rx ) led flasher and code not Execution
---------------------------
؟؟
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1198
Location: France

france.gif
PostPosted: Wed Jul 22, 2015 2:05 pm    Post subject: Reply with quote

Hi,
I have the same config W7 32bits

here you will find the step by step solution. you can use Arduino as other AVR with the programmer option Arduino much more simple than DUDE
[url]
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=12472[/url]


bon courage
JP Wink
Back to top
View user's profile Visit poster's website
MIKRO_MAN

Bascom Member



Joined: 22 Jan 2015
Posts: 38

PostPosted: Thu Jul 23, 2015 10:00 pm    Post subject: Reply with quote

Duval JP wrote:
Hi,
I have the same config W7 32bits

here you will find the step by step solution. you can use Arduino as other AVR with the programmer option Arduino much more simple than DUDE
[url]
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=12472[/url]


bon courage
JP Wink


step by step pdf [getting started with Arduino and bascom]
but the same problem
led tx && rex oscillation but code does not execuit and cant detect uc


Back to top
View user's profile
MIKRO_MAN

Bascom Member



Joined: 22 Jan 2015
Posts: 38

PostPosted: Fri Jul 24, 2015 1:27 am    Post subject: Reply with quote

i find new problem may be this is main reasons for may problem

i cant find hex file in folder of project ??

Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1198
Location: France

france.gif
PostPosted: Fri Jul 24, 2015 9:15 am    Post subject: Reply with quote

Fist with arduino IDE
Did you test the blink.ino program from Arduino sample ? Yes ? then
with bascom IDE
Do you have set the correct output options in the programmer setting ? I mean Hex and Bin files
Yes ? then try :
'-------------------------------------------------------------------------------
' ARDUINO-UNO V3.BAS
'
' (c) 1995-2011, MCS Electronics
' This is a sample file for the Mega328P based ARDUINO board
' Select Programmer 'ARDUINO' , 115200 baud and the proper COM port timeout 200
'-------------------------------------------------------------------------------

$regfile = "M328pdef.dat"

$crystal = 16000000
Config Clockdiv = 1 ' either use this or change the divider fuse byte

Config Pinb.5 = Output
'( alternative test

Do
Waitms 200
Toggle Portb.5
Loop
')

Do
Set Portb.5
Wait 1
Reset Portb.5
Wait 1
Loop

End 'end program

JP
Back to top
View user's profile Visit poster's website
MIKRO_MAN

Bascom Member



Joined: 22 Jan 2015
Posts: 38

PostPosted: Fri Jul 24, 2015 5:42 pm    Post subject: Reply with quote

Duval JP wrote:
Fist with arduino IDE
Did you test the blink.ino program from Arduino sample ? Yes ? then
with bascom IDE
Do you have set the correct output options in the programmer setting ? I mean Hex and Bin files
Yes ? then try :
'-------------------------------------------------------------------------------
' ARDUINO-UNO V3.BAS
'
' (c) 1995-2011, MCS Electronics
' This is a sample file for the Mega328P based ARDUINO board
' Select Programmer 'ARDUINO' , 115200 baud and the proper COM port timeout 200
'-------------------------------------------------------------------------------

$regfile = "M328pdef.dat"

$crystal = 16000000
Config Clockdiv = 1 ' either use this or change the divider fuse byte

Config Pinb.5 = Output
'( alternative test

Do
Waitms 200
Toggle Portb.5
Loop
')

Do
Set Portb.5
Wait 1
Reset Portb.5
Wait 1
Loop

End 'end program

JP


first _ i solve problem
I do not know how to implement the solution to the problem Very Happy
but i change bascom version
and use setting

when i use code [config portb.5 = output __ not working]
but [config pinb.5 = output __ working good]

and hex file working good
thanks for the help
-----------------------------------------------------------------
i need help about connect hc_05 bluetooth module by bascom avr [expermint or Tutorials]
or make new topic for this ؟؟
-----------------------------------------------------------------
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1198
Location: France

france.gif
PostPosted: Fri Jul 24, 2015 5:53 pm    Post subject: Reply with quote

Quote:
i need help about connect hc_05 bluetooth module by bascom avr [expermint or Tutorials]
or make new topic for this ؟؟


did you have looked out with the search tools in this forum ? I have seen a lot of bluetooth subject
JP
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-ARDUINO 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