Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 2260 matches
www.mcselec.com Forum Index
Author Message
  Topic: UART buffer ISR flags
MWS

Replies: 3
Views: 388

PostForum: BASCOM-AVR   Posted: Tue Mar 26, 2024 6:53 pm   Subject: Re: UART buffer ISR flags
Does command INPUT after reading buffer set the flag to zero?
Input waits for data terminated with CR/LF or whatever is defined by Config Input.
Why should it clear the RXC-flag?

RXC is only set, ...
  Topic: 2D array vs bootyfab
MWS

Replies: 4
Views: 354

PostForum: BASCOM-AVR   Posted: Sun Mar 24, 2024 6:17 pm   Subject: Re: 2D array vs bootyfab
Is there any meaningful advantage to this method compared to using a standard 2d array in regards to execution speed?
Your unrolled code executes in the statistical mean slower than calculating the i ...
  Topic: PULSEOUT problem
MWS

Replies: 6
Views: 524

PostForum: BASCOM-AVR   Posted: Tue Mar 19, 2024 2:32 pm   Subject: Re: PULSEOUT problem
I was able to verify that PULSEOUT does not work on the PORTH.6 port
You are correct, neither it works on Port-J, -K, and -L.

The reason is twofold, first, calling code of PulseOut() omits to set ...
  Topic: ISR stacking
MWS

Replies: 5
Views: 333

PostForum: BASCOM-AVR   Posted: Sun Mar 17, 2024 8:03 pm   Subject: Re: ISR stacking
This can help:
Nice work, thank you. Smile
  Topic: ISR stacking
MWS

Replies: 5
Views: 333

PostForum: BASCOM-AVR   Posted: Sat Mar 16, 2024 10:16 am   Subject: Re: ISR stacking
I am talking about simulation now. When some events trigger INT0 or INT1 program jumps to desired location do some code stuff.
The Bascom simulation is not the exact equivalent of the µC's hardware. ...
  Topic: Fuse Questions
MWS

Replies: 10
Views: 539

PostForum: BASCOM-AVR   Posted: Fri Mar 08, 2024 9:08 am   Subject: Fuse Questions
That was my intention.
Overly complicating things by ignoring the processor's features?
You can not make hundred percent sure, that in the processor's last breaths as voltage is dying down, it does ...
  Topic: Fuse Questions
MWS

Replies: 10
Views: 539

PostForum: BASCOM-AVR   Posted: Fri Mar 08, 2024 8:34 am   Subject: Fuse Questions
EESAVE is not needed with bootloader because it will not bulk erase entire chip so you must only worry about good power supply Very Happy
Thus your lengthy essay and good advise for the wrong case was not, h ...
  Topic: Fuse Questions
MWS

Replies: 10
Views: 539

PostForum: BASCOM-AVR   Posted: Fri Mar 08, 2024 6:41 am   Subject: Re: Fuse Questions
programming through the bootloader. Not sure if that makes a difference.
The bootloader can't access fuses.
That's why programming via BL is safe, while with ISP you can mess things up.
  Topic: Eram questions
MWS

Replies: 1
Views: 224

PostForum: BASCOM-AVR   Posted: Thu Mar 07, 2024 5:32 pm   Subject: Eram questions
They are stored in order. If you want to keep EEProm mapping, you need to add new ERam-variables to the end.
Be careful not to write in a loop, as this finally would kill the EEProm cells, also set t ...
  Topic: size of DATA table
MWS

Replies: 7
Views: 365

PostForum: BASCOM-AVR   Posted: Thu Mar 07, 2024 10:44 am   Subject: size of DATA table
What is the use to know the size of af a data table ?
If data is of random size, the goal must be not to read into void.

Could be an annoyance to count hundreds of Data lines to make sure you don' ...
  Topic: size of DATA table
MWS

Replies: 7
Views: 365

PostForum: BASCOM-AVR   Posted: Thu Mar 07, 2024 10:33 am   Subject: size of DATA table
Sometimes it would be easy, if it wouldn't be complicated Laughing

First, the method as I've described works.
Second, it only shows word accuracy.

Means if the actual amount of byte-data is odd ...
  Topic: size of DATA table
MWS

Replies: 7
Views: 365

PostForum: BASCOM-AVR   Posted: Wed Mar 06, 2024 8:48 pm   Subject: Re: size of DATA table
Is there a function to get the size of "DATA" table?
No.
Calculation is easy, the label of Data start you have already, for examle lbl_start, place another label lbl_end immediately after Data ends. ...
  Topic: How to enable and disable DMA transmission ATxmega
MWS

Replies: 4
Views: 478

PostForum: BASCOM-AVR XTINY/MEGAX/AVRX   Posted: Sat Mar 02, 2024 1:51 pm   Subject: How to enable and disable DMA transmission ATxmega
Configuration itself is not a problem, it's about the simplest DMA START/STOP control (similar to TIMER)
Instead of reusing the Config-command you can look up the appropriate register in the datashee ...
  Topic: How to enable and disable DMA transmission ATxmega
MWS

Replies: 4
Views: 478

PostForum: BASCOM-AVR XTINY/MEGAX/AVRX   Posted: Fri Mar 01, 2024 9:33 pm   Subject: How to enable and disable DMA transmission ATxmega
Configuration for DMA as well for DAC is reusable, you can issue more than one config, at one you enable, at the other disable it.
As a most simple approach you can try to switch the DAC pin to input ...
  Topic: Start Bascom with Profile?
MWS

Replies: 7
Views: 446

PostForum: BASCOM-AVR   Posted: Wed Feb 28, 2024 11:13 am   Subject: Start Bascom with Profile?
Seems a bug, I can virtually write any nonsense behind $programmer without any change or complaint.
 
Page 1 of 151 Goto page 1, 2, 3 ... 149, 150, 151  Next
All times are GMT + 1 Hour
Jump to: