Menu

RV-3028 on Pico (Tachyon extension) - can't set week day

Maciek
2023-01-02
2025-11-26
  • Maciek

    Maciek - 2023-01-02

    Hi Peter,

    I stumbled across this small nuisance yesterday when attached my makeshift RV-3028 RTC board to the Pico running your Tachyon extension. The time and date sets up just fine but the DAY! stubbornly refuses to set the proper week day. No matter what I try to set it to (1-7) .FDT returns Monday. I'll look to this more closely today but maybe the solution already is implemented but just not in my system (newer version of Tachyon extension maybe) ?.
    The other oddity I will post later today when back home. It has to do with .FDT and .DAY.

     
  • Peter Jakacki

    Peter Jakacki - 2023-01-02

    Just had a quick look and seems that I chose to write it to the RTC on DATE! which means DAY! only writes to the buffer and depends upon a following DATE! Other than that you can make it to a 3 RTC! directly if that suits.
    I will have to check it out later.

     
  • Maciek

    Maciek - 2023-01-02

    Fixed! Thank you.

    And my ugly, but working, RV-3028 makeshift board. No backup capacitor or battery for now. Had some real soldering fun with it.

     

    Last edit: Maciek 2023-01-02
  • Maciek

    Maciek - 2023-01-05

    Hi Peter,
    Just one more question:
    does your RV-3028 support code for Tachyon extension to Mecrisp provide for the tricke charge option set to ON ?

    I can't seem to find the relevant part in the code and it's not working with my ugly RTC board when I installed a big enough backup capacitor in place of the pull down 10k Ohm resistor (the one that sticks out to the left of the board). The fresh from the factory setting has this set to OFF, probably to prevent users from destroying the non rechargeable backup battery most of them will probaly use instead of the supercap.

    The capacitor is a ceramic one, salvaged from some server board, so I will need to double check if it's good enough for this purpose, with low leakage but it surely is not a crooked cap.

    Edit: I found the line in the code. Ok, there is a few more bits to set than just the TCE. I'll play with them some more. Looks like the config is the same as for the P2D2 but there it works (makes the RTC keep the settings and time) and here it doesn't (loses both after power down). Strange but more investigative fun.

     

    Last edit: Maciek 2023-01-05
    • Maciek

      Maciek - 2023-01-06

      After some fiddling with the relevant bits and further thinking I finaly understood why it didn't work at my first attempt.
      The reason was trivial - I have connected the RTC board to already booted Pico so the initial config of the RV-3028 didn't happen as it gets probed and initialised on boot. After manual initialisation it worked as it should. Stupid me.
      Apparently, I was too excited to play with my ugly RTC board.

       
  • andy2no

    andy2no - 2024-01-09

    I'd like to make a suggestion about the wording of the SourceForge project summary page, for Tachyon Forth. I would start a new thread, but I don't currently see a way to do that, possibly because I only recently subscribed here.

    I saw mentions of Tachyon Forth extensions in the Mecrisp Forth discussions, but it hasn't been all that easy to track down anything relevant about that. It appears that there is support for the RP2040, now, but that's not mentioned on the first page people are likely to see - the Summary page:

    https://sourceforge.net/projects/tachyon-forth/

    However, I did manage to find an RP2040 section in Files, so I'll look into that:

    https://sourceforge.net/projects/tachyon-forth/files/RP2040/

    From searching the discussions, here and on the parallax forum, I'm not able to find much that relates to it, or to the state of development, or how to use it. I assume that information existed once, and possibly still does, but there seems to be a chunk of history missing, somehow - or possibly, it's just not obvious where to look.

     
    • Peter Jakacki

      Peter Jakacki - 2024-01-11

      Hi Andy,
      The Tachyon extensions to Mecrisp on the RP2040 were done as a bridge at the time I was looking at writing a Tachyon kernel for it from scratch. I played with the RP2040 for a while and I should come back to it I guess. I will dig out the board and check the files as well.

      Do you have some suggestions ?

       
  • andy2no

    andy2no - 2024-01-13

    Hi Peter,

    Thanks. I don't seem to be getting notifications, from Sourceforge, so I only just saw your answer. I've turned on the settings I can see, but that doesn't appear to work.

    I really don't know where to start with Tachyon. The documentation just seems to talk about the parallax chips. I don't know what applies to to the RP2040, yet, and I'm really not sure what I should be reading about it.

    I had assumed there were discussions that I could read to get up to speed, but I can't find any. I don't currently know what words it defines, or how to find out what they do.

     
  • andy2no

    andy2no - 2024-01-13

    I'm struggling to even understand how to install Tachyon Forth, at the moment.

    For example, this part:

    "In a separate linux terminal startup minicom in ANSI mode 921600bd and ^AU to get it to add a CR (Mecrisp outputs a single LF instead of CRLF)"

    Is that using a USB serial connection, or an FTDI, or similar?

    Also, does it have to be Minicom, on Linux, or could I do this with TeraTerm, on Windows, which I'd be more comfortable with?

    The installation seems to assume knowledge that an existing Tachyon user might already have, but I'm really quite lost, without more of an explanation of what to do.

     

    Last edit: andy2no 2024-01-13
    • Peter Jakacki

      Peter Jakacki - 2024-01-13

      Hi Andy, maybe I haven't been using the reply button. Read my latest post.

       
  • andy2no

    andy2no - 2024-01-13

    Sorry for the triple post. I'm still trying to get SourceForge to let me subscribe to this thread. It seems posting again, not editing, might be the only way.

     
  • Peter Jakacki

    Peter Jakacki - 2024-01-13

    Hi Andy, I guess prerequisites are a fact of life and we have to start somewhere. But that's also where we ask questions and look for feedback too.

    I think I've also mentioned so many times the different terminal emulators that one can use, but I use minicom because it works properly and is a fully functional ANSI terminal emulator that can also keep up with high baud rates too. But when it comes to Windows I used to use and still use TeraTerm.

    But Mecrisp on the RP2040 only uses the hardware UART, not any special USB modes, so that means a USB to serial connection of some kind. I use Silans and FTDI and CH340 style chips etc.

    Tachyon on the RP2040 is not a native Forth as it relies upon Mecrisp Forth as the base. So it is necessary to go to the Mecrisp page to find out how to load this. Fortunately it is easy and involves dragging the uf2 boot image across to the USB Flash drive that mounts when the RP2040's boot button is held in on startup. There's a UF2 in the files.
    https://sourceforge.net/projects/tachyon-forth/files/RP2040/

    Read the README in the files section too and once Mecrisp is up and running it is simply a matter of copy&paste or sending the TACHYON.FTH etc

     
  • andy2no

    andy2no - 2024-01-13

    Thanks, Peter. I'll have a go at it later, or possibly tomorrow.

    I've now had emails for your last two replies, so it seems the Reply button isn't required. I needed to tick a box that wasn't obvious, when posting a reply. It seems I failed to see it the first two times, and using it when editing my second reply didn't work. It's a little different to other forums I've used.

     
  • Chan Siu Fung John

    Hi @pbjtech / andy2no /Maciek,

    Apology that I have used this topic but post a question on Tachyon Forth ESP32C3 version.
    It is because I cannot create a new topic for my problem.

    I had success to install Tachyon Forth to my Xiao ESP32C3 and load EXTEND. When I key in 'WORDS', the result is exactly what shown in the presentation via Youtube (2025-03-16).

    But when I try to load SCOPE, the following error messages shown:

    0040 --- Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.******

    Core 0 register dump:
    MEPC : 0x42002cf8 RA : 0x42003df0 SP : 0x3fc9faa0 GP : 0x3fc8f000
    TP : 0x3fc7b95c T0 : 0x4005890e T1 : 0x00000019 T2 : 0xffffffff
    S0/FP : 0x3fc98000 S1 : 0x3fca10c4 A0 : 0x3c0bea00 A1 : 0x3c0bf938
    A2 : 0x00000002 A3 : 0x3fca10bc A4 : 0x36133fab A5 : 0x36133fab
    A6 : 0x3fca3944 A7 : 0x00000000 S2 : 0x36133fab S3 : 0x00000000
    S4 : 0x408f4000 S5 : 0x3fca08dc S6 : 0x00000002 S7 : 0x00000000
    S8 : 0x408f4000 S9 : 0x3fca00c0 S10 : 0x3fca3bd4 S11 : 0x3fca0044
    T3 : 0x00000020 T4 : 0x00000001 T5 : 0x0000000d T6 : 0xffffffff
    MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000005 MTVAL : 0x36133fab
    MHARTID : 0x00000000

    Stack memory:
    3fc9faa0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fac0: 0xa5a5a5a5 0x3fca3bd4 0x3fca10bc 0x36133fab 0x3fca00c0 0x3fca08d8 0xa5a5a5a5 0xa5a5a5a5
    3fc9fae0: 0xa5a5a5a5 0x40490fdb 0x3f800000 0x3fca3944 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb00: 0x3fca3944 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb80: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fba0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbc0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbe0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc00: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x420002a2 0x42000282 0x3fc9fcf0 0x3fc8f000
    3fc9fc80: 0x3fc7b95c 0x4005890e 0x00000019 0x00000000 0x4038b882 0x40383a7c 0x3fc9fd10 0x3fc8f000

    Please kindly advise how to fix the problem.

    For your information, I am a retired person learning to use Forth as a hobby.

     
    • Peter Jakacki

      Peter Jakacki - 2025-11-25

      Hi John, Welcome to Tachyon Forth . Firstly here's a tip: Always best to start a new thread so the request is not lost and easy to find again. So rather than replying to this message, start a new thread (subject) and let me know the source you used.

      In the meantime use the files from my working set and try again:
      https://www.dropbox.com/scl/fo/n1tbumt8v8td1y780cylj/AM3BQqgabH8sSDjWUxgWL7M?rlkey=fyhlk6yai7yqydyt8ju7wimcv&st=esmqrrld&dl=0

       
  • Chan Siu Fung John

    @pbjtech Hi Peter, apology that I still need to use this message chain to tell you my progress.

    I had made use of the arduino file in your dropbox and refresh my Xiao ESP32C3.

    But the following errors showed when booted the refreshed Tachyon Forth:

    Guru Meditation Error: Core 0 panic'ed (Instruction access fault). Exception was unhandled.

    Core 0 register dump:
    MEPC : 0x3c0bec4c RA : 0x42000c1e SP : 0x3fc9faa0 GP : 0x3fc8f000
    TP : 0x3fc7b91c T0 : 0xffffffff T1 : 0x403888ec T2 : 0xffffffff
    S0/FP : 0x3fc98000 S1 : 0x3fca10d8 A0 : 0x00000000 A1 : 0x00000000
    A2 : 0x00000000 A3 : 0x3fca10cc A4 : 0x3c0bec4c A5 : 0x3fcad13c
    A6 : 0xffffffff A7 : 0x0000000a S2 : 0x3fc92000 S3 : 0x00000000
    S4 : 0x408f4000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
    S8 : 0x408f4000 S9 : 0x3fc922ff S10 : 0x0000000f S11 : 0x00000000
    T3 : 0xffffffff T4 : 0xffffffff T5 : 0xffffffff T6 : 0xffffffff
    MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000001 MTVAL : 0x3c0bec4c
    MHARTID : 0x00000000

    Stack memory:
    3fc9faa0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fac0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x3fca77f0 0x3fca10cc 0xee35ff5d 0x3fca00d0 0x3fca08ec
    3fc9fae0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x40490fdb 0x3f800000 0x3c0bdda8
    3fc9fb00: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x3c0bdda8 0x0000000a 0x3dcccccd 0xa5a5a5a5
    3fc9fb20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb80: 0xa5a5a5a5 0x00000000 0x000081ff 0x00000000 0x00000000 0x000033b4 0x00000000 0x00000000
    3fc9fba0: 0x000000f3 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fbc0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbe0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc00: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc80: 0x4200026a 0x42000282 0x3fc9fd00 0x3fc8f000 0x3fc7b91c 0x4005890e 0x00000019 0x00000000
    3fc9fca0: 0x3fca1a08 0x3c0be728 0x00000000 0x3c0bf854 0x00000006 0x00000001 0x00000042 0x00000000
    3fc9fcc0: 0x40053b20 0x4200aea4 0x3fc9fd40 0x3fc8f000 0x3fc7b91c 0x00000000 0x9ac00000 0x4204af6e
    3fc9fce0: 0x00000000 0x3fc98000 0x0000fa00 0x00000434 0x000003e8 0x00000434 0x00000434 0x00000000
    3fc9fd00: 0xfa000000 0x00000003 0x00000000 0xaf68d584 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd40: 0x00000000 0x3fc98000 0x3fca0054 0x42004272 0x00000020 0x00000001 0x00000000 0x4200bf56
    3fc9fd60: 0x00000000 0x00000000 0x00000000 0x4038a4c0 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd80: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x420005ce 0x3fca9ffc 0x3fc98000
    3fc9fda0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fdc0: 0x00000000 0x00000000 0x3fc9faa0 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fde0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe00: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe40: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe60: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe80: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

    ELF file SHA256: 7d9a22a7ab9d7528

    Rebooting...
    ESP-ROM:esp32c3-api1-20210207
    Build:Feb 7 2021
    rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
    Saved PC:0x40381e5c
    SPIWP:0xee
    mode:DIO, clock div:1
    load:0x3fcd5810,len:0x438
    load:0x403cc710,len:0x90c
    load:0x403ce710,len:0x2624
    entry 0x403cc710
    Guru Meditation Error: Core 0 panic'ed (Instruction access fault). Exception was unhandled.

    Core 0 register dump:
    MEPC : 0x3c0bec4c RA : 0x42000c1e SP : 0x3fc9faa0 GP : 0x3fc8f000
    TP : 0x3fc7b91c T0 : 0xffffffff T1 : 0x403888ec T2 : 0xffffffff
    S0/FP : 0x3fc98000 S1 : 0x3fca10d8 A0 : 0x00000000 A1 : 0x00000000
    A2 : 0x00000000 A3 : 0x3fca10cc A4 : 0x3c0bec4c A5 : 0x3fcad13c
    A6 : 0xffffffff A7 : 0x0000000a S2 : 0x3fc92000 S3 : 0x00000000
    S4 : 0x408f4000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
    S8 : 0x408f4000 S9 : 0x3fc922ff S10 : 0x0000000f S11 : 0x00000000
    T3 : 0xffffffff T4 : 0xffffffff T5 : 0xffffffff T6 : 0xffffffff
    MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000001 MTVAL : 0x3c0bec4c
    MHARTID : 0x00000000

    Stack memory:
    3fc9faa0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fac0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x3fca77f0 0x3fca10cc 0xee35ff5d 0x3fca00d0 0x3fca08ec
    3fc9fae0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x40490fdb 0x3f800000 0x3c0bdda8
    3fc9fb00: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x3c0bdda8 0x0000000a 0x3dcccccd 0xa5a5a5a5
    3fc9fb20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb80: 0xa5a5a5a5 0x00000000 0x000081ff 0x00000000 0x00000000 0x000033b4 0x00000000 0x00000000
    3fc9fba0: 0x000000f3 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fbc0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbe0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc00: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc20: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc40: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc60: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc80: 0x4200026c 0x42000282 0x3fc9fd00 0x3fc8f000 0x3fc7b91c 0x4005890e 0x00000019 0x00000000
    3fc9fca0: 0x3fca1a08 0x3c0be794 0x00000000 0x3c0bf890 0x40383a72 0x4200ae96 0x3fc9fd30 0x3fc8f000
    3fc9fcc0: 0x40053b28 0x4200aea4 0x3fc9fd40 0x3fc8f000 0x3fc7b91c 0x00000000 0x58400000 0x4204af6e
    3fc9fce0: 0x00000000 0x3fc98000 0x0000fa00 0x00000431 0x00000000 0x00000431 0x00000431 0x00000000
    3fc9fd00: 0xfa000000 0x00000003 0x00000000 0x04947469 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd40: 0x00000000 0x3fc98000 0x3fca0054 0x42004272 0x00000000 0x3fc98000 0x00000000 0x4200bf56
    3fc9fd60: 0x00000000 0x00000000 0x00000000 0x4038a4c0 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd80: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000000 0x420005ce 0x3fca9ffc 0x3fc98000
    3fc9fda0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fdc0: 0x00000000 0x00000000 0x3fc9faa0 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fde0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe00: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe20: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe40: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe60: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe80: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

    ELF file SHA256: 7d9a22a7ab9d7528

    Rebooting...

    Similar error messages also appeared after I send EXTEND and reboot:

    ESP32forth v7.0.7.15 + PBJ251125-1650
    ESP32-C3 160 MHz 1 cores 4194304 bytes flash
    System Heap: 59984 free + 290492 used = 350476 total (17% free)
    41972 bytes max contiguous
    Forth dictionary: 156908 free + 36704 used = 193612 total (81% free)
    3 x Forth stacks: 2048 bytes each
    ok
    0#> --- ok
    0#> words --- FORTH telnetd registers webui login web-interface httpd ok ON OFF LED
    tone freq duty adc pin default-key? default-key default-type visual set-title
    page at-xy normal bg fg ansi ifdef { editor list copy thru load flush update
    empty-buffers buffer block save-buffers default-use use open-blocks block-id
    scr block-fid blksz! blkh blkw blksz file-exists? needs required included?
    include included reset revive startup: remember restore save ls cat touch
    rm mv cp dump-file streams ms start-task task pause tasks ENDOF OF ENDCASE
    CASE +to to exit ; { (local) asm words vlist order see startswith? str=
    :noname forget spaces assert rtos sockets Serial ledc SPIFFS SD_MMC SD
    WiFi Wire ESP read-dir resize free allocate structures f.s f. #fs set-precision
    precision fvariable fconstant fliteral afliteral sf, internals sealed previous
    also only transfer{ }transfer transfer definitions vocabulary [IF] [ELSE]
    [THEN] DEFINED? ver quit1 evaluate quit eolok eol refill tib accept1 accept
    echo .s abort" abort .ERROR errors flushkeys XY CUR _CSI BLINKING UL BOLD
    REVERSE PLAIN ATR PAPER PEN COL HOME ESC[ ESCX CLS ANSI _ansi white cyan
    magenta blue yellow green red black z>s s>z r~ r| r" z" ." s" n. ? . u.
    print u.r str #> sign #s # hold <# extract pad hld binary decimal octal
    hex noop cr space default-emit bye terminate key? key emit type is defer
    +to to value throw catch handler K J I loop +loop leave UNLOOP ?do do next
    for nest-depth postpone recurse aft repeat while else if then ahead until
    again begin [char]
    char ['] ' used remaining !sp fdepth depth fp0 rp0 sp0

    ! \ ( ESP32? ESP32-S2? ESP32-S3? ESP32-C3? PSRAM? Xtensa? RISC-V? pinMode

    digitalWrite digitalRead analogRead pulseIn MS-TICKS R/O W/O R/W BIN CLOSE-FILE
    FLUSH-FILE OPEN-FILE CREATE-FILE DELETE-FILE RENAME-FILE WRITE-FILE READ-FILE
    FILE-POSITION REPOSITION-FILE RESIZE-FILE FILE-SIZE NON-BLOCK OPEN-DIR
    CLOSE-DIR MDNS.begin FP@ FP! SF@ SF! FDUP FNIP FDROP FOVER FSWAP FROT FNEGATE
    F0< F0= F= F< F> F<> F<= F>= F+ F- F* F/ 1/F S>F F>S SFLOAT SFLOATS SFLOAT+
    PI FSIN FCOS FSINCOS FATAN2 F** FLOOR FEXP FLN FABS FMIN FMAX FSQRT >flags
    >flags& >params >size >link& >link >name aligned align nip rdrop */ * /mod
    / mod invert negate - rot -rot ?dup < > <= >= = <> 0<> bl nl 1& 1+ 1- 2*
    2/ 4* 4/ +! ++ -- ~ ~~ cell+ cells cell/ 2drop 2dup 2@ 2! cmove cmove>
    fill erase blank min max abs here allot , c, current #tib >in state base
    context latestxt [ ] literal 0= 0< + U/MOD */MOD LSHIFT RSHIFT ARSHIFT
    MASK AND OR XOR DUP SWAP OVER DROP @ SL@ UL@ SW@ UW@ W@ C@ ! L! W! C! SET?
    CLR? SP@ SP! RP@ RP! >R R> R! R@ BOUNDS ADO: DO: LOOP: I: CLKPIN DATPIN
    CLKDAT CLKDATW HI LO PIN! HILO LOHI HH LL HL LH EXECUTE CALL REBOOT HIGH
    LOW INP CELL FIND PARSE CREATE VARIABLE CONSTANT DOES> IMMEDIATE >BODY
    EXIT ; forth-builtins
    ok
    0#> ( EXTEND is mainly designed for the ESP32-C3 and now the ESP32 for compatibility with Tachyon tools ) --- ok
    0#> ESP32 --- ERROR ESP32 NOT FOUND! ERROR

    0#> reboot --- Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.

    Core 0 register dump:
    MEPC : 0x400588f6 RA : 0x420042da SP : 0x3fc9fa70 GP : 0x3fc8f000
    TP : 0x3fc7b91c T0 : 0x420ab1a2 T1 : 0x0000000f T2 : 0x4204af6e
    S0/FP : 0x3fc98000 S1 : 0x00000000 A0 : 0x00000010 A1 : 0x00000000
    A2 : 0x00000008 A3 : 0x00000060 A4 : 0x00000010 A5 : 0x00000000
    A6 : 0x3fca3918 A7 : 0x00000000 S2 : 0xfffffdc4 S3 : 0x00000000
    S4 : 0x408f4000 S5 : 0x3fca08ec S6 : 0x00000006 S7 : 0x00000000
    S8 : 0x408f4000 S9 : 0x3fca00d0 S10 : 0x3fca3ba8 S11 : 0x3fca0054
    T3 : 0x00000020 T4 : 0x00000001 T5 : 0x0000000d T6 : 0x00000000
    MSTATUS : 0x00001881 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000010
    MHARTID : 0x00000000

    Stack memory:
    3fc9fa70: 0x00000000 0x00000000 0x408f4000 0x00000000 0x00000006 0x3fca08ec 0x408f4000 0x00000000
    3fc9fa90: 0xee35ff5d 0x3fca10d4 0x3fc98000 0x42003b62 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fab0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x3fca3ba8
    3fc9fad0: 0x3fca10cc 0xee35ff5d 0x3fca00d0 0x3fca08e8 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9faf0: 0xa5a5a5a5 0x40490fdb 0x3f800000 0x3fca3918 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb10: 0x3fca3918 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb30: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb50: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb70: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fb90: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbb0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbd0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fbf0: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc10: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc30: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc50: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fc70: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x42000270 0x42000282 0x3fc9fd00 0x3fc8f000
    3fc9fc90: 0x3fc7b91c 0x4005890e 0x00000019 0x00000000 0x4038b882 0x40383a7c 0x3fc9fd20 0x3fc8f000
    3fc9fcb0: 0x4038b8ac 0x40383a7c 0x3fc9fd30 0x3fc8f000 0x40053b30 0x4200aea4 0x3fc9fd40 0x3fc8f000
    3fc9fcd0: 0x3fc7b91c 0x420ab1a2 0x38400000 0x4204af6e 0x00000000 0x3fc98000 0x0000fa00 0x00000001
    3fc9fcf0: 0x00000000 0x00003840 0x0000e76d 0x00000000 0xfa000000 0x00000003 0x00000000 0xd60a4407
    3fc9fd10: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fd30: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fc98000 0x3fca0054 0x42004272
    3fc9fd50: 0x00000020 0x00000001 0x00000000 0x4200bf56 0x00000000 0x00000000 0x00000000 0x4038a4c0
    3fc9fd70: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
    3fc9fd90: 0x00000000 0x420005ce 0x3fca9ffc 0x3fc98000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fdb0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fc9faa0 0x00000000
    3fc9fdd0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fdf0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe10: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe30: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
    3fc9fe50: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

    ELF file SHA256: 7d9a22a7ab9d7528

    Rebooting...
    ESP-ROM:esp32c3-api1-20210207
    Build:Feb 7 2021
    rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
    Saved PC:0x40381e5c
    SPIWP:0xee
    mode:DIO, clock div:1
    load:0x3fcd5810,len:0x438
    load:0x403cc710,len:0x90c
    load:0x403ce710,len:0x2624
    entry 0x403cc710
    Guru Meditation Error: Core 0 panic'ed (Instruction access fault). Exception was unhandled.

     
  • Chan Siu Fung John

    @pbjtech Hi Peter, when I tried to create a new topic, the following message is shown:

    You do not have permission to post in any forums.

     

Anonymous
Anonymous

Add attachments
Cancel