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

This page ever ...
total: 179
unique: 149

Site ...
total: 5942
unique: 3818
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 XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    Even 2087 official IDE can have versions. Here you can see that I use official 2087.006 where some of the betatesters can even use higher SLA versions 006-010

    [img:d146ff9d90]https://www.mcselec.com/userpix/22760_aboutIDE_1.jpg[/img:d146ff9d90]

    So I also have Xplained Mini328PB and it can be externally powered with 3.3V like I do in this test and I attach SNAP into ISP port so my SNAP read nearly 3V (2.99V)

    [img:d146ff9d90]https://www.mcselec.com/userpix/22760_328pbSNAP_1.jpg[/img:d146ff9d90]

    And programming simply pass well so you must do something wrong/different.

    [img:d146ff9d90]https://www.mcselec.com/userpix/22760_328pbSNAPokay_1.jpg[/img:d146ff9d90]

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    version 2.087
    I tried SNAP ISP on my own board, where the Atmega328PB is powered by a 78L05 regulator.
    (The MCU is clocked by crystal 22,1184 MHz)
    I downloaded the flash content without any problems, erased the flash and re-wrote the downloaded content.
    I tried setting the configuration bits "Divide clock by 8" and "Brown Out" both Disable/Enable.
    Also without any problems.
    I don't have any board with Atmega328PB powered by 3.3V so I can't try it.

    Jarda

  • BASCOM-AVR : Getadc(chanel) : REPLY



    Try this

    [code:1:90e4e6016a]Config ADC = Single , Prescaler = Auto , Reference = AVCC[/code:1:90e4e6016a]

  • BASCOM-AVR : Getadc(chanel) : NEWTOPIC



    Is there anyone that can tell me why this code doesn't work?

    All channels return 1023 and no mater what I change the Potentiometer to It's still 1023.

    [code:1:e042e58aa5]
    $regfile = "m328pdef.dat"
    $crystal = 16000000
    $baud = 19200
    $hwstack = 80
    $swstack = 80
    $framesize = 80

    ' Configure ADC
    Config Adc = Single , Prescaler = Auto

    Dim W As Word , Channel As Byte

    Start Adc
    Channel = 0

    'now read A/D value from channel 0-7

    Do
    W = Getadc(channel)
    Print "Channel " ; Channel ; " value " ; W
    Incr Channel
    If Channel > 7 Then Channel = 0
    Wait 2
    Loop
    End
    [/code:1:e042e58aa5]

    [b:e042e58aa5][color=red:e042e58aa5](BASCOM-AVR version : 2.0.8.5 , Latest : 2.0.8.7 )[/b:e042e58aa5][/color:e042e58aa5]

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    I tested with 328PB Xplained mini which has an on board programmer and that worked. So the SNAP should work equally well. The problem you face might be the voltage (xplained uses 5V) or the fact that i use a newer IDE.

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    Yes 1 programmer that works for all is ideal. So please answer the questions. While i can not test for all ISP processors, the goal is to make it work for all.

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    Thanks for the clarification. This doesn't matter because I'm using a USB MKII programmer for this purpose.
    But I thought it would be easier to have one small universal programmer on my desk than multiple programmers

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    Original the UPDI was supported and i added PDI for the Xmega. At the moment the 2088 beta supports all Xmega.
    ISP was added too but only tested wit the ISP processors i had. All data is read from the existing DAT files so it should work for all ISP. But here the same : for the 2088 beta is was developed further.
    If you want to test write to support.

    What you also can test : does reading eeprom and/or flash works?
    Do you actually use 3V or 5V ? Some processors have problems when programming with a lower than 5V voltage.

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    Why not try installing it again, following the instructions in the help section or the forum manual?

  • BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY



    [b:2c1d35b894]Two paragraphs from the help version 2.087, chapter MCS EDBG Programmer:[/b:2c1d35b894]
    [quote:2c1d35b894]
    The goal of the EDBG programmer support was to support UPDI mode.
    Some programmers support ISP and PDI mode. But BASCOM does not support these modes yet.
    The ISP mode is in beta. It works for the ISP curiosity series. But no extensive tests were done.

    The PDI mode is in beta as well. It is tested on the xmega128A3. The DAT files are not adapted
    and thus it will not work correct on processors with a different memory configuration.[/quote:2c1d35b894]

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

Password:




[ ]
[ ]
Headlines

»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
Even 2087 official IDE can have versions. Here you can see that I use official 2087.006 where some of the betatesters can even us...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
version 2.087 I tried SNAP ISP on my own board, where the Atmega328PB is powered by a 78L05 regulator. (The MCU is clocked by c...
»BASCOM-AVR : Getadc(chanel) : REPLY
Try this [code:1:90e4e6016a]Config ADC = Single , Prescaler = Auto , Reference = AVCC[/code:1:90e4e6016a]
»BASCOM-AVR : Getadc(chanel) : NEWTOPIC
Is there anyone that can tell me why this code doesn't work? All channels return 1023 and no mater what I change the Potentiome...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
I tested with 328PB Xplained mini which has an on board programmer and that worked. So the SNAP should work equally well. The prob...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
Yes 1 programmer that works for all is ideal. So please answer the questions. While i can not test for all ISP processors, the goa...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
Thanks for the clarification. This doesn't matter because I'm using a USB MKII programmer for this purpose. But I thought it wou...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
Original the UPDI was supported and i added PDI for the Xmega. At the moment the 2088 beta supports all Xmega. ISP was added too...
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
Why not try installing it again, following the instructions in the help section or the forum manual?
»BASCOM-AVR XTINY/MEGAX/AVRX : [closed]we need a ready to use Snap programmer : REPLY
[b:2c1d35b894]Two paragraphs from the help version 2.087, chapter MCS EDBG Programmer:[/b:2c1d35b894] [quote:2c1d35b894] The goa...


Date published: not known
Details

»SWUSB - Atmega/Tiny direkt als USB Controller - Fehler beim kompilieren mit der akt. Bascom Version
Hallo und ein gesundes neues Jahr Euch allen, ich lese seit einiger Zeit aufmerksam viele Themen mit, auch wenn ich vieles noch nicht so ganz ver...
»Problem mit Pulsein und Pin-Abfrage
Guten Morgen, Prog: Do Pulsein Puls, PinA, 3, 1 If PinA.3 = 1 Then LED = 1 Loop End Wenn ich den Eingang PinA.3 (es kommen Impulse von einem Ser...
»OLED 1,5" 128x128 SH1107
habe mir aus China OLED-Display besorgt: 1,5 Zoll 128x128 Pixel , Treiber angeblich SH1107 leider gibt es dafür in Bascom-AVR keine Library. meine ...
»Funk-Fernbedienung 6 Kanal bidirektional
hallo Leute, ich möchte Euch ein Projekt aus meiner Bascom Anfangszeit (2023) vorstellen. eine 6 Kanal Funkfernsteuerung mit bidirektionaler Datenü...
»CRC16 mag nicht
Eine KI hat mir diesen Vorschlag erstellt um die Checksumme zu berechnen BASCOM-Quellcode (76 Zeilen)Das läuft nicht, es kommen Fehlermeldungen M...
»Feuchtesensor
Hallo, ich hab solche 'Schätzeisen' im Einsatz, die zeigen im Boden sonst was. Während es auf dem Tisch sauber, wiederholbar unterscheiden konnte o...


Date published: Fri, 14 Aug 2026 10:36:53 +0000
Details




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.