Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 20 matches
www.mcselec.com Forum Index
Author Message
  Topic: Backspacing on input inputs backspaces!
Zvoc47

Replies: 9
Views: 516

PostForum: BASCOM-AVR   Posted: Fri Apr 17, 2015 3:46 pm   Subject: Backspacing on input inputs backspaces!
I don't understand. I don't think I'm using PLL. I have a 32MHz crystal. Is there a way to check this?
  Topic: Can't compare strings!
Zvoc47

Replies: 12
Views: 579

PostForum: BASCOM-AVR   Posted: Fri Apr 17, 2015 3:44 pm   Subject: Can't compare strings!
That means I would need to have an overlay over the whole memory. Is it possible to use C-style pointers instead? I need to be able to load any byte from anywhere in any memory and display it in hex f ...
  Topic: Relocating program start position
Zvoc47

Replies: 4
Views: 313

PostForum: BASCOM-AVR   Posted: Fri Apr 17, 2015 3:42 pm   Subject: Relocating program start position
I sent the e-mail.
  Topic: Relocating program start position
Zvoc47

Replies: 4
Views: 313

PostForum: BASCOM-AVR   Posted: Thu Apr 16, 2015 3:08 am   Subject: Relocating program start position
Yeah. User's program goes to 0x8000 while my program is 0x0000 and debugs the user's program.
  Topic: RTC, context switch and process init?
Zvoc47

Replies: 0
Views: 338

PostForum: BASCOM-AVR   Posted: Wed Apr 15, 2015 8:53 pm   Subject: RTC, context switch and process init?
Hello.
I have ATXMEGA128A1 with a 32MHz crystal. I need to activate RTC to count for 0.5ms between my debugging program and the main program.
My program = prog 0x000000-0x007FFF, ram 0x002000-0x002F ...
  Topic: Relocating program start position
Zvoc47

Replies: 4
Views: 313

PostForum: BASCOM-AVR   Posted: Wed Apr 15, 2015 8:40 pm   Subject: Relocating program start position
Is it somehow possible to relocate the program start? My debugging program works from 0x000000 to 0x007FFF and I'd like to have users upload programs from 0x008000 which means that their whole program ...
  Topic: Can't compare strings!
Zvoc47

Replies: 12
Views: 579

PostForum: BASCOM-AVR   Posted: Tue Apr 14, 2015 11:09 pm   Subject: Can't compare strings!
The problem is solved. However, I'd sometimes have problems with ASC().
Sometimes ASC() would give me incorrect data type error. Can ASC convert 1 character (character as in byte, not byte and zero b ...
  Topic: Backspacing on input inputs backspaces!
Zvoc47

Replies: 9
Views: 516

PostForum: BASCOM-AVR   Posted: Mon Apr 13, 2015 2:54 pm   Subject: Backspacing on input inputs backspaces!
Don't worry. They don't need automatic clearing. And as much as I see, they are "popped" from the stack in such a way when the function is re-entered, they are overwritten with new ones. This means no ...
  Topic: Backspacing on input inputs backspaces!
Zvoc47

Replies: 9
Views: 516

PostForum: BASCOM-AVR   Posted: Sun Apr 12, 2015 8:24 pm   Subject: Backspacing on input inputs backspaces!
Thanks.
If uart_command is long 78 characters, willUart_command = Uart_command + Chr(uart_char)use up 157 bytes? I need to be cautious with the space I use and I must know how long the frame ...
  Topic: Can't compare strings!
Zvoc47

Replies: 12
Views: 579

PostForum: BASCOM-AVR   Posted: Sun Apr 12, 2015 7:29 pm   Subject: Can't compare strings!
I solved it by using mid()
  Topic: Can't compare strings!
Zvoc47

Replies: 12
Views: 579

PostForum: BASCOM-AVR   Posted: Sun Apr 12, 2015 2:10 am   Subject: Can't compare strings!
Doesn't fix. Still the same error
  Topic: Can't compare strings!
Zvoc47

Replies: 12
Views: 579

PostForum: BASCOM-AVR   Posted: Sun Apr 12, 2015 1:51 am   Subject: Can't compare strings!
$regfile = "xm128a1def.dat"
$Crystal=32000000
$hwstack=4160
$swstack=16
$framesize=32
$baud = 115200
'Config Serialin = Buffered , Size = 80
'Config Serialout = Buffered , Size = 254 ...
  Topic: Backspacing on input inputs backspaces!
Zvoc47

Replies: 9
Views: 516

PostForum: BASCOM-AVR   Posted: Sun Apr 12, 2015 1:09 am   Subject: Backspacing on input inputs backspaces!
But which file is it?
  Topic: Backspacing on input inputs backspaces!
Zvoc47

Replies: 9
Views: 516

PostForum: BASCOM-AVR   Posted: Sat Apr 11, 2015 11:17 pm   Subject: Backspacing on input inputs backspaces!
When I try to input an 8 character long string and use backspaces, the backspaces actually enter the array! Instead, they should remove the last character in the input buffer, but why don't they?
Her ...
  Topic: Error when trying to write to a variable using inline assemb
Zvoc47

Replies: 2
Views: 198

PostForum: BASCOM-AVR   Posted: Tue Apr 07, 2015 9:43 am   Subject: Error when trying to write to a variable using inline assemb
Solved it myself. It gave me zeros in the simulator, but on real MCU, the values were correct. The simulator failed to simulate $3D and $3E which are the CPU_SPL and CPU_SPH. Please fix this.

My co ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to: