Main Menu
Counter
This page today ...
total: 0
unique: 0

This page ever ...
total: 180
unique: 111

Site ...
total: 2661
unique: 1181
Online
  • Guests: 1
  • Members: 0
  • Newest Member: ole
  • Most ever online: 47
    Guests: 47, Members: 0 on Wednesday 21 February 2018 - 23:52:15
Chatbox
You must be logged in to post comments on this site - please either log in from the Login box or from here.If you are not registered click here to signup.


bullet Kim
1 year ago
test
Royalsystems blog

MCS Electronics Forum

  • BASCOM-AVR : UART Bootloader for ATTINY841 / ATTINY1634 : REPLY



    You do not really need a bootloader section to have a bootloader, if the avr has self programming modify the reset vector should do the trick.
    Have a look at this; http://jtxp.org/tech/tinysafeboot_en.htm
    Don't say it's easy or user friendly, but it works.

  • BASCOM-AVR : Program does not start when uploaded via bootloader : REPLY



    Thx for advice.
    I removed all commands in relation to the LEDs in the bootloader, recompiled and loaded into flash memory via ISP.
    Message from uploading of the bootloader see MCSBootL_Message.jpg. Does it matter when the message says that 15872 bytes are written and a bit earlier 15818 bytes are loaded into FLASH buffer ?
    Checked again content vs. buffer result o.k.

    MCSBootLoad1.jpg shows the setting of the bootloader. ARE THE FUSES SET CORRECTLY: ESP: FUSEBIT EXTENDED Q

    It looks that the bootloader code is stored at H3800. In the MCS bootloader I indicated Loaderchip =168 and $Loader =$1c00. (see MCSBootLoad2.jpg)
    The used $regfile is m168def.dat. Fits to the chipID.
    The parameters for the MCS bootloader are set to bootsize =1924 and reset = NONE.
    Then uploaded application program via MCS bootloader. Uploading seems o.k. Downloading the Flash memeory via the ISP Programme showed that th flah meory has a new content. Message from uploading was
    Loader returned: 123
    Uploading
    Finish code:0
    Trying to run the application program -> no success.

    BR
    Chris

  • BASCOM-AVR : Program does not start when uploaded via bootloader : REPLY



    Long time ago i have problem with MCS Bootloader with M328P (simillar to smaller 168P)
    Problem was that MCS Bootloader uses two or three LED`s for showing the progress.. It was some of the INT0 pins if I remember fine.
    To solve this problem I must comment using those LED`s in the Bootloader or config ports again in my aplication after Boot.

  • BASCOM-AVR : Program does not start when uploaded via bootloader : NEWTOPIC



    Dear All,
    I loaded my application program via the MCS bootloader into ATMEGA168. Successfully
    But:
    My application program did not start.
    After loading the application program via the ISP programmer the application programs started well.
    I want to keep the processor in it environment and modify the software via RS232.

    My assumption is that there is something wrong with the fusebits or the boot vector.
    In the application program I set the fuse bits to

    $prog &HFF , &HE7 , &HDF , &HF8
    With &HF8 I set the bootsize to 1024 words and Fusebit extended Q to select Boot vector.

    For the MCS loader I put the parameters for boot size to 1024, Reset NONE

    What may be wrong ? Pls be so kind to advice.
    BR
    Chris

    [b:a9e21d4248][color=red:a9e21d4248](BASCOM-AVR version : 2.0.7.9 , Latest : 2.0.8.1 )[/b:a9e21d4248][/color:a9e21d4248]

  • BASCOM-AVR : SD Card Speed Clock : REPLY



    With Xmega you dont need the level converter. Xmega 3.3V ... SDCard 3.3V
    To the Xmega I always link SDCard directly.

  • BASCOM-AVR : MCS bootloader fuses : REPLY



    Many thanks for the good advice.
    Programming using the bootloader went well.
    BR
    Chris

  • BASCOM-AVR : SD Card Speed Clock : REPLY



    [quote="Evert smile"]Max default clock speed for a sd card is 48Mhz.
    If you power up an sd-card it will always work on 3.3V, 1 bit bus and max. 45mhz clock. This to make all the new fast cards downwards compatible.
    If you want a higher clock speed, lower voltage (1.8V) or change bus width you have to negotiate with the card to change the settings. Ask the card what he (or she) is capable of and then change the settings.

    I did it in C, but never in Bascom. Hope you can find some examples else it's a long way to go.

    Hi evert,
    thanks for your advice, i will try to replace the logic converter for sd card.

  • BASCOM-AVR : UART Bootloader for ATTINY841 / ATTINY1634 : REPLY



    Never mind. Silly question. Attiny's don't have a bootloader section

  • BASCOM-AVR : Atmel AVR as ISP/Bed of nails test system : REPLY



    Hi All,

    Thats a very Interesting product.

    I'll go though the documentation and maybe purchase both and see which one fits be better.

    The hobbytronics chip Looks interesting, they offer a "naked chip" for Integration in a custom PCB.

    Regards
    Ian Dobson

  • BASCOM-AVR : Setting times on multiple DS 3231 RTC Modules : REPLY



    HI,
    By using an I2C level conversion device with enable control (EN, OE pin) such as PCA9306, PCA9517, FXMA2102, devices with the same I2C address can be connected on the same bus line and selected.

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

Password:




[ ]
[ ]
Headlines

»BASCOM-AVR : UART Bootloader for ATTINY841 / ATTINY1634 : REPLY
You do not really need a bootloader section to have a bootloader, if the avr has self programming modify the reset vector should d...
»BASCOM-AVR : Program does not start when uploaded via bootloader : REPLY
Thx for advice. I removed all commands in relation to the LEDs in the bootloader, recompiled and loaded into flash memory via ISP...
»BASCOM-AVR : Program does not start when uploaded via bootloader : REPLY
Long time ago i have problem with MCS Bootloader with M328P (simillar to smaller 168P) Problem was that MCS Bootloader uses two ...
»BASCOM-AVR : Program does not start when uploaded via bootloader : NEWTOPIC
Dear All, I loaded my application program via the MCS bootloader into ATMEGA168. Successfully But: My application program did ...
»BASCOM-AVR : SD Card Speed Clock : REPLY
With Xmega you dont need the level converter. Xmega 3.3V ... SDCard 3.3V To the Xmega I always link SDCard directly. ...
»BASCOM-AVR : MCS bootloader fuses : REPLY
Many thanks for the good advice. Programming using the bootloader went well. BR Chris
»BASCOM-AVR : SD Card Speed Clock : REPLY
[quote="Evert :-)"]Max default clock speed for a sd card is 48Mhz. If you power up an sd-card it will always work on 3.3V, 1 bit ...
»BASCOM-AVR : UART Bootloader for ATTINY841 / ATTINY1634 : REPLY
Never mind. Silly question. Attiny's don't have a bootloader section
»BASCOM-AVR : Atmel AVR as ISP/Bed of nails test system : REPLY
Hi All, Thats a very Interesting product. I'll go though the documentation and maybe purchase both and see which one fits be...
»BASCOM-AVR : Setting times on multiple DS 3231 RTC Modules : REPLY
HI, By using an I2C level conversion device with enable control (EN, OE pin) such as PCA9306, PCA9517, FXMA2102, devices with the...


Date published: not known
Details

»wie programmiere ich einen ATMEGA 644-20AU mit den Programmer My AVR USB Light ?
Hallo, stehe jetzt völlig in der Luft. Habe eine Platine auf der ein AMEGA 644-20AU nagelneu und unbespielt ist. Habe als Progammer den USB Ligh...
»1Wire DS1820 und Werte speichern im EEProm Mega8
Hallo Leute, ich habe ein Problem mit meinem Prog! Ich möchte meine Klimaanlage im Auto steuern und die Temperatur mit dem 1Wire DS1820 messen. Da...
»Attiny44A ; PDIP vs SMD - Übertragung schlägt fehl
Hallo Leute! Habe mich eben erst angemeldet, da ich doch ein merkwürdiges Problem habe und hier im Forum und im Internet nichts hilfreiches dazu g...
»Der Zug der Zeit (eine Uhr)
Nachdem mein Versuch mit einer 'stehenden Laufschrift' einen, aus meiner Sicht, netten Effekt gezeigt hat, mach ich jetzt ein Projekt daraus. Hier ...
»Anfänger Webserver mit Wiznet 5200
Hallo Zusammen, nach Monaten des "Schlafes" habe ich mein modifiziertes Projekt "Probier-Webserver" wieder ausgegraben. Das ist eine abgewandelte ...
»Flashen über ISP und Bootloader
Mal eine Frage am Rande: gibt es Treiberprobeme wenn man auf einem Rechner Programme per ISP und Bootloader (je nach angeschlossener Hardware) über...


Date published: Tue, 22 May 2018 21:53:37 +0000
Details

»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
»IV-17 Nixie clock GPS set time & date at power onIV-17 Nixie clock GPS set time & date at power on


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 which is released under the terms of the GNU GPL License.