Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 88 matches
www.mcselec.com Forum Index
Author Message
  Topic: Starting Bootloader from Application
Alex20q90

Replies: 3
Views: 579

PostForum: AVR   Posted: Sat Mar 10, 2018 6:05 pm   Subject: Re: Starting Bootloader from Application
Hi,

Goto &Hxxx should work,
However &H1000 is not a valid Bootloader address, what is valid depends on how big your bootloader loader is, have a look at the

Thanks Evert!
I read it in ...
  Topic: Starting Bootloader from Application
Alex20q90

Replies: 3
Views: 579

PostForum: AVR   Posted: Sat Mar 10, 2018 12:02 pm   Subject: Starting Bootloader from Application
Hello,

i have a new problem! I use a ATMega8u2 mit LUFA Bootloader. In Bascom i can flash my Application with Bascom over the "FLIP"-Programmer directly via USB. It works.
If i would flash again, ...
  Topic: MTMega8u2 PWM on three Channels
Alex20q90

Replies: 14
Views: 637

PostForum: BASCOM-AVR   Posted: Fri Mar 09, 2018 9:00 pm   Subject: MTMega8u2 PWM on three Channels
the timer registers are set correctly. but what is missing is the configuration of the pin to output. i have corrected this. if simply configuring the pins to output before the config timer command a ...
  Topic: MTMega8u2 PWM on three Channels
Alex20q90

Replies: 14
Views: 637

PostForum: BASCOM-AVR   Posted: Mon Mar 05, 2018 9:00 am   Subject: MTMega8u2 PWM on three Channels
Hi MWS,

many thanks for help, but it dont work!

If i toggle by a selfmade soft-pwm, i can use all 3 outputs. I put RGB-LED on it to test.

Describe your dev-board, maybe PB7 is blocked or not ...
  Topic: MTMega8u2 PWM on three Channels
Alex20q90

Replies: 14
Views: 637

PostForum: BASCOM-AVR   Posted: Sat Mar 03, 2018 8:15 pm   Subject: Re: MTMega8u2 PWM on three Channels
Hi MWS,

thanks for your help, but it dont work! Only chan 1 and 2.

Yes, because it dont work!
Nonsense, what kind of logic is this?
A compilable sample helps to have a look into the registers. ...
  Topic: MTMega8u2 PWM on three Channels
Alex20q90

Replies: 14
Views: 637

PostForum: BASCOM-AVR   Posted: Sat Mar 03, 2018 12:08 pm   Subject: Re: MTMega8u2 PWM on three Channels
Any hint what i make wrong?
You haven't posted an compilable example.

Yes, because it dont work!

I tried:

$regfile ="M8u2def.dat"
$crystal = 8000000

Config Timer1 = Pwm , Pwm = ...
  Topic: MTMega8u2 PWM on three Channels
Alex20q90

Replies: 14
Views: 637

PostForum: BASCOM-AVR   Posted: Fri Mar 02, 2018 5:49 pm   Subject: MTMega8u2 PWM on three Channels
Hi,

i try to use all three OC1x-Channels on the ATMega8u2.

But i can only

Config Timer1 = Pwm , Pwm = 8 , Compare A Pwm = Clear down , Compare B Pwm = Clear down , Prescale = 1

and

...
  Topic: Command line to write .hex with Bascom (programmer)
Alex20q90

Replies: 11
Views: 526

PostForum: BASCOM-AVR   Posted: Fri Feb 09, 2018 11:41 am   Subject: Command line to write .hex with Bascom (programmer)

I did answer it, did you read and understand?


I think i dont understand!


In case you simply need a clear reply to above question: no, there is no Bascom command line to flash a controller, ...
  Topic: Command line to write .hex with Bascom (programmer)
Alex20q90

Replies: 11
Views: 526

PostForum: BASCOM-AVR   Posted: Fri Feb 09, 2018 8:13 am   Subject: Command line to write .hex with Bascom (programmer)
ok, i ask different now:

is it possible to program a .hex file with bascom from command line?
  Topic: Command line to write .hex with Bascom (programmer)
Alex20q90

Replies: 11
Views: 526

PostForum: BASCOM-AVR   Posted: Sun Feb 04, 2018 12:57 pm   Subject: Command line to write .hex with Bascom (programmer)
I think USB-Isp is a some kind of Atmel STK-200

You should try to install AVRDUDE and then from CMD -> avrdude -p atmega128 -c stk200 -P usb -V -U flash:w:"C:\test.hex":i -U lock:w:0x3C:m
uC ...
  Topic: Command line to write .hex with Bascom (programmer)
Alex20q90

Replies: 11
Views: 526

PostForum: BASCOM-AVR   Posted: Sat Feb 03, 2018 6:51 pm   Subject: Command line to write .hex with Bascom (programmer)
you not understand!

no, i dont have the stk500 programmer! i have the mcs USB-ISP progI!
An i only have a .hex-File! I dont have a bascom .bas-File to compile!

I only need the "burning" funktio ...
  Topic: Command line to write .hex with Bascom (programmer)
Alex20q90

Replies: 11
Views: 526

PostForum: BASCOM-AVR   Posted: Sat Feb 03, 2018 12:27 pm   Subject: Command line to write .hex with Bascom (programmer)
Hello,

i need help! I have a huge project and i need a command line (like avrdude) to say to my bascom "write .hex-File to AVR".

At moment i open the Writer-Tool, delete the Buffer, delete the A ...
  Topic: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Alex20q90

Replies: 7
Views: 893

PostForum: BASCOM-AVR   Posted: Wed Jun 28, 2017 1:58 pm   Subject: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Ohh, thanks!

I will try it later! At moment, i connect my ft232 via wire to my board on a free pin to get dbg_messages.
The USB is with too mutch overhead!

Thank you for the example!

Okay. I ...
  Topic: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Alex20q90

Replies: 7
Views: 893

PostForum: BASCOM-AVR   Posted: Wed Jun 28, 2017 9:34 am   Subject: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Hello EDC,


I have some succesfull projects because I like to read documentation Very Happy
Do you read USB.pdf comes with libraries?


Sorry, i didnt read carefully because thats not my work ...
  Topic: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Alex20q90

Replies: 7
Views: 893

PostForum: BASCOM-AVR   Posted: Wed Jun 28, 2017 7:18 am   Subject: ATMega32u2 (32u4) with USB-Addon for Serial Transmission
Hi EDC,

i dont know where i have to put the transmitting routine! A 'Print "Test" ' dont work!


'------------------------------------------------------------------------------
' &# ...
 
Page 1 of 6 Goto page 1, 2, 3, 4, 5, 6  Next
All times are GMT + 1 Hour
Jump to: