Main Menu
Counter
This page today ...
total: 2
unique: 1

This page ever ...
total: 126
unique: 102

Site ...
total: 5280
unique: 3297
Online
  • Guests: 2
  • Members: 0
  • Newest Member: Kimmi
  • Most ever online: 170
    Guests: 170, Members: 0 on 15 Jan 2023 : 07:39
Chatbox
You must be logged in to post comments on this site - please either log in from the Login box or from here.


bullet Kim
9 years ago
test
Royalsystems blog

MCS Electronics Forum

  • BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY



    See this : https://www.minitool.com/partition-disk/format-128gb-sd-card-to-fat32.html
    As i understand it, windows 11 might be able to format > 32GB too since FAT32 is not limited to 32GB.

  • BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY



    Thank you for the information. I agree, 12 characters for file name is enough, I just wanted to confirm my code was working correctly.

    I researched the MicroSDHC and MicroSDXC a bit. The XC version uses the newer exFAT file system because the older FAT32 does not support drives larger than 32 GB. It looks like the AVR-DOS supports up to FAT32, but there is no mention in my version of exFAT.

    I am still trying to get IT to unlock my computer so I can install the latest version of BASCOM... Hopefully today.

  • BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY



    12 is the max size. It is the old MS-DOS limit. For an embedded system i do no think the overhead of LFS is worth it.
    About new cards : which driver do you use?
    And also : consider to test the driver lib from a more recent version.

  • BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY



    I have continued to refine my code, and I now have things working pretty well. The RV8803 RTC is essentially the same registers as most other RTCs, so the DS1307 code should work. I tried the suggestion of setting a bit in the GETTIMEDATE to only read the hardware once, but it affected other things such as SYSSEC, so I just let it read twice when it gets the TIME$ and the DATE$ too, not too much additional time. I will post the subroutines for this part when I have it completed.

    I have the MicroSD working as well. I can do DIR, CLR etc. It appears that the file name size is fixed at 12 characters (log_file.txt), is this correct? I use LOG00001.TXT as a starting point and it was easy enough to sort a DIR and get the highest file number. I can also increment the file number or append to the previous file. It is a neat feature.

    I have found that the MicroSD works with 16GB MicroSDHC cards. However, I have a 64GB MicroSDXC card that does not seem to be recognized. Is there a problem with the XC version, or is 64GB too big? It's getting difficult to find smaller SD cards anymore.

    This all fits into a ATmega328 so far, including some other ADC stuff, but approaching 85%. I'm using the single buffer option in the MicroSD DOS, and buffered serial I/O, and I still have a few bytes of RAM left too.

  • BASCOM-AVR : Small bug in the prorgammer interface. : REPLY



    U are right!!!

    Thank U

    de 4z5cp

  • BASCOM-AVR : Small bug in the prorgammer interface. : REPLY



    This setting you used is probably a leftover from an older version.
    To set it permanently, you have to go to Options (gear) and in the tab Environment -> Font,
    there is a check box on the right side: Big Menu Icons.

  • BASCOM-AVR : Small bug in the prorgammer interface. : NEWTOPIC



    The setting for large icons in the toolbar is always reset
    This setting applies only to the current session; once the window is closed and reopened, the setting is reset
    [img:8e34273f45]https://skr.sh/sbPguHogPpT.png[/img:8e34273f45]

    [b:8e34273f45][color=red:8e34273f45](BASCOM-AVR version : 2.0.8.7 )[/b:8e34273f45][/color:8e34273f45]

  • Share your working BASCOM-AVR code here : 1.3inch 65K FullColorLCD 240x240dot [ST7789V] : REPLY



    I don't have that LCD, so I can't perform an actual test.

    If even a few lines or characters appear on the screen, it seems the LCD initialization is working.

    If the display then disappears, there might be a problem with the LCD itself, or there might be some issue with your hardware or program.

    Please try a simple program that only displays basic characters.

    Note that BASCOM's graphics commands use byte coordinate parameters, so they cannot draw on LCDs with more than 256 dots.

    Currently, with the cooperation of MCS, we are working on a project to support word-based handling of graphics command parameters, and the library is complete.

    You can obtain the compiler with the word-based handling from the SLA area, but please wait a little longer for the LCD library to be released.

    With the next BASCOM update, general users should be able to use this convenient graphics function.

  • BASCOM-AVR : BUG in FT800 : REPLY



    Thank U for the answer!

    Problem was in the absence Config Submode = New.

    After putting this config - problem is gone.

  • BASCOM-AVR : Bascom-Avr 2.8.0.6 working .... 2.8.0.7 not working : REPLY



    [quote:600b1330ff="MWS"]I do not think, that MCS.lib needs to change.
    The way the problem was solved within this thread was merely a workaround, not more.
    [/quote:600b1330ff]
    Yes you are right. Multiply by 8 was always done in software and only recently the Hardware mul option was added for micros that support that instruction.
    Only the graphic routines use r0/r1 which MUL alters. So normally the graphic code should be altered to save/restore those regs before using MUL.
    But as there are many graphical libs , not only supported by MCS but modified and made by users, that is not practical.
    So in this case i decided to make the mod in mcs.lib even while it is only required for the graphical libs. It is less code and faster than the software version anyway so not that bad.

| Date published: not known
Back to newsfeed list
Welcome
Username or Email:

Password:




[ ]
[ ]
Headlines

»BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY
See this : https://www.minitool.com/partition-disk/format-128gb-sd-card-to-fat32.html As i understand it, windows 11 might be abl...
»BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY
Thank you for the information. I agree, 12 characters for file name is enough, I just wanted to confirm my code was working corre...
»BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY
12 is the max size. It is the old MS-DOS limit. For an embedded system i do no think the overhead of LFS is worth it. About new c...
»BASCOM-AVR old unsupported versions : User Clock I2C Multiple Read Question : REPLY
I have continued to refine my code, and I now have things working pretty well. The RV8803 RTC is essentially the same registers a...
»BASCOM-AVR : Small bug in the prorgammer interface. : REPLY
U are right!!! Thank U de 4z5cp
»BASCOM-AVR : Small bug in the prorgammer interface. : REPLY
This setting you used is probably a leftover from an older version. To set it permanently, you have to go to Options (gear) and i...
»BASCOM-AVR : Small bug in the prorgammer interface. : NEWTOPIC
The setting for large icons in the toolbar is always reset This setting applies only to the current session; once the window is c...
»Share your working BASCOM-AVR code here : 1.3inch 65K FullColorLCD 240x240dot [ST7789V] : REPLY
I don't have that LCD, so I can't perform an actual test. If even a few lines or characters appear on the screen, it seems the ...
»BASCOM-AVR : BUG in FT800 : REPLY
Thank U for the answer! Problem was in the absence Config Submode = New. After putting this config - problem is gone. ...
»BASCOM-AVR : Bascom-Avr 2.8.0.6 working .... 2.8.0.7 not working : REPLY
[quote:600b1330ff="MWS"]I do not think, that MCS.lib needs to change. The way the problem was solved within this thread was merel...


Date published: not known
Details

»HILFE, Kompilieren geht nicht mehr BASCOM 2.0.7.5
Hallo Gemeinde, brauche dringend Hilfe zu BASCOM 2.0.7.5 unter WIN7 mit DIAMEX-AVR-Programmer (STK500.exe) Mein Problem: Ich musste nach langer Z...
»1D-Feuerwerk WS2812B
Als bekennender Fan von allem was funkelt und leuchtet war ich fasziniert von dem ein oder anderen "1D-Feuerwerk", welches man in diversen Ecken de...
»Programmier Adapter
Hallo zusammen, ich bin eigentlich neu in diesem Forum, obwohl schon länger registriert, aber richtig zur Sache komme ich heute ! Bislang habe ic...
»Soft-Ser bei 2.4 MHz Quarz
Beim MEGA328p der mit 2.4576 Mhz getaktet ist ist eine SOFT_SER eingerichtet. "Open "COMB.1:9600,8,n,1" For Output As #2" Dabei kommt es sporadisc...
»Uhrzeit HHM_ in einer Byte-Variablen zum Vergleichen
Hi zusammen, in meinen Programm habe ich diverse Variablen-Werte in einer Bytekette hinterlegt, da ist auch eine Prüfuhrzeit drin. Da in einem Byt...
»Routinen für WS2812-LEDs, Rainbow.Lib (Fading, Blend)
Wie im Thema Nach langer Pause... bereits angesprochen, hier nun ein paar Gedanken zu Dimm- bzw Überblend- Routinen bei der Verwendung von WS2812b ...


Date published: Tue, 12 May 2026 18:25:45 +0000
Details

»4 January 20244 January 2024
»93c46 editor programmer bascom & vb93c46 editor programmer bascom & vb
»93c46 Bascom & VB693c46 Bascom & VB6
»Analog clock on SSD1289 3.2" 240x320 lcdAnalog clock on SSD1289 3.2" 240x320 lcd
»Nextion HMI lcd with KaraDio the best webradio esp8266Nextion HMI lcd with KaraDio the best webradio esp8266
»Adding 240x320 lcd to the WifiWebRadioAdding 240x320 lcd to the WifiWebRadio


Date published: not known
Details

»Bascom Can Bus Sniffer
»R.I.P Ben Zijlstra
Remembering Ben Zijlstra We hope that people who love Ben will remember and celebrate his life. more info at MCS www.mcselec.com/index2.ph...
»KaRadio webradio ESP8266
The Dimitris board is available at https://github.com/dsaltas/WiFi-WebRadio  This is a hardware project for Ka-Radio
»93C46
small tool to edit 93C46 eeprom written in BascomAVR & VB  Bascom control the 93C46 so we sent data via comport from VB code will be added later ...
»nRF24L01+ RC Controller
This is a RC controller TX & RX unit with nRF24L01+ nRF24L01+ / with PA and LNA for longer range facts: TX 1 x potmeter for servo ...
»RAW lcd
Connecting RAW lcd to atmega8 the lcd is 6 digit + time glass LCD Hour Meter for  tractor ,air compressor, ect the lcd have 4 com pins  & 14...


Date published: not known
Details


Proudly powered by e107 Bootstrap CMS which is released under the terms of the GNU GPL License.