View previous topic :: View next topic |
Author |
Message |
MIKRO_MAN
Joined: 22 Jan 2015 Posts: 38
|
Posted: Tue Jul 21, 2015 3:53 pm Post subject: [problem] program arduino uno r3 at win7 |
|
|
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
|
Back to top |
|
|
MIKRO_MAN
Joined: 22 Jan 2015 Posts: 38
|
Posted: Thu Jul 23, 2015 10:00 pm Post subject: |
|
|
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 |
|
|
MIKRO_MAN
Joined: 22 Jan 2015 Posts: 38
|
Posted: Fri Jul 24, 2015 1:27 am Post subject: |
|
|
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Fri Jul 24, 2015 9:15 am Post subject: |
|
|
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 |
|
|
MIKRO_MAN
Joined: 22 Jan 2015 Posts: 38
|
Posted: Fri Jul 24, 2015 5:42 pm Post subject: |
|
|
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
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Fri Jul 24, 2015 5:53 pm Post subject: |
|
|
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 |
|
|
|