Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 412 matches
www.mcselec.com Forum Index
Author Message
  Topic: Kill large number of files
njepsen

Replies: 12
Views: 712

PostForum: BASCOM-AVR   Posted: Mon Dec 14, 2020 10:09 pm   Subject: Kill large number of files
Sorry I have replied to you people earlier, and thanks for the input. Ive been away for a few days.
MWS - I don't need to keep anything on the Sd so format would be OK, but there is no format cmd. ...
  Topic: Kill large number of files
njepsen

Replies: 12
Views: 712

PostForum: BASCOM-AVR   Posted: Mon Dec 07, 2020 5:20 am   Subject: Kill large number of files
I have a situation where i need to kill a large number of files (upwards of 10,000) on an SD card.
This is done remotely by sms, so I cant just put the SD into a PC
The following code is too slow - ...
  Topic: How to know limit for $hwstack, $swstack, $framesize, is it
njepsen

Replies: 11
Views: 1036

PostForum: BASCOM-AVR   Posted: Mon Sep 28, 2020 5:56 am   Subject: How to know limit for $hwstack, $swstack, $framesize, is it
Hi MWS,
Thanks for your reply. About the code explorer's info: everything therein can be only info which the compiler provides at end of compilation, thus it's static info.
I do not kn ...
  Topic: How to know limit for $hwstack, $swstack, $framesize, is it
njepsen

Replies: 11
Views: 1036

PostForum: BASCOM-AVR   Posted: Thu Sep 24, 2020 7:59 am   Subject: How to know limit for $hwstack, $swstack, $framesize, is it
My sincere apologies mws - for some reason I thought that was your name. I wasn't being cheeky or flippant.

Yes obviously these var must be declared in the .lib. Anyway - the values seem reasona ...
  Topic: How to know limit for $hwstack, $swstack, $framesize, is it
njepsen

Replies: 11
Views: 1036

PostForum: BASCOM-AVR   Posted: Wed Sep 23, 2020 9:22 pm   Subject: How to know limit for $hwstack, $swstack, $framesize, is it
Thanks for the tip Rudolf. Here is what happens:

$regfile = "m1284pdef.dat"
$crystal = 9830400
$framesize =800
$hwstack = 800 '
$swstack = ...
  Topic: How to know limit for $hwstack, $swstack, $framesize, is it
njepsen

Replies: 11
Views: 1036

PostForum: BASCOM-AVR   Posted: Wed Sep 23, 2020 5:38 am   Subject: How to know limit for $hwstack, $swstack, $framesize, is it
Still confused. I included (copied with cut & paste) the sample program from help section on $HWCHECK and I run it every 30 secs in a program that runs successfully, has been running for several ...
  Topic: How to know limit for $hwstack, $swstack, $framesize, is it
njepsen

Replies: 11
Views: 1036

PostForum: BASCOM-AVR   Posted: Wed Sep 23, 2020 4:15 am   Subject: How to know limit for $hwstack, $swstack, $framesize, is it
So what do these numbers represent?

Bytes used?
bytes needed?
_lowest
_highest??

I'm confused.
  Topic: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
njepsen

Replies: 6
Views: 394

PostForum: BASCOM-AVR   Posted: Mon Aug 24, 2020 3:00 am   Subject: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
Hi Adrian,
yes you are probably right. All my var are in alphabetical order so i can easily find them.
Once bitten, twice shy.
  Topic: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
njepsen

Replies: 6
Views: 394

PostForum: BASCOM-AVR   Posted: Mon Aug 24, 2020 1:57 am   Subject: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
Thanks Fellas for coming back to me on this, and thanks for your efforts especially JC.
I HAVE FOUND THE PROBLEM

It was your comment mws that variables are stored in the order in which they are de ...
  Topic: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
njepsen

Replies: 6
Views: 394

PostForum: BASCOM-AVR   Posted: Sun Aug 23, 2020 12:39 am   Subject: Do STCHECK,$HWCHECK,$FRAMECHECK,$SOFTCHECK work
I am chasing an issue where a global gets changed when it should not, and i have been chasing this for 2 days now.
The last time anyone posted on the various 4 tools (shown above) for checking stack ...
  Topic: stack woes
njepsen

Replies: 8
Views: 729

PostForum: AVR-DOS   Posted: Sat Aug 22, 2020 7:44 am   Subject: stack woes
7 years later:
My application has now grown to 8000 lines, and I am using 2.0.8.2.

I have spent 7 hours today unsuccessfully trying to find a bug .
I have a variable called "last_rain_tipL" whic ...
  Topic: Software UART issues
njepsen

Replies: 13
Views: 871

PostForum: BASCOM-AVR   Posted: Tue Jun 30, 2020 9:44 pm   Subject: Software UART issues
Thanks Laborratte - I normally use a string array, but thought that building a string might be faster, alythough at 9600 i didnt think it would be a problem. . Easy to try. Yes there is a CR LF.
  Topic: Software UART issues
njepsen

Replies: 13
Views: 871

PostForum: BASCOM-AVR   Posted: Sun Jun 28, 2020 1:39 am   Subject: Software UART issues
Good idea - i'll try that. Easy to do. You also got me looking at the xmega, which have some very powerful and useful advantages.
I'll get back to you re the interrupt driven SW uart.
  Topic: Software UART issues
njepsen

Replies: 13
Views: 871

PostForum: BASCOM-AVR   Posted: Sat Jun 27, 2020 6:31 am   Subject: Software UART issues
Hello JC, and many thanks for your comments and suggestions.
To answer some of your questions:
Local_sec1 is a long, so it wont roll over any time soon.
Yes I realize my ISRs will slow down my RT ...
  Topic: Software UART issues
njepsen

Replies: 13
Views: 871

PostForum: BASCOM-AVR   Posted: Fri Jun 26, 2020 6:55 am   Subject: Software UART issues
I am using a sw UART with the Atmega 1284p, and i also have an onboard Raspberry Pi, which talks to the Atmega on a slow SW UART. All the hardware UARTS are talking to the more important things so are ...
 
Page 1 of 28 Goto page 1, 2, 3 ... 26, 27, 28  Next
All times are GMT + 1 Hour
Jump to: