Viewing 4 reply threads
  • Author
    Posts
    • #5395
      almogualmogu
      Participant

      First of all, thanks for all the information and everything you share, you are great.

      I am a complete stranger in VS, but following the steps I am not doing badly, until when loading the file, and putting the serial monitor I get the following error and I no longer know where to look for information.

      I have followed all the steps to the best of my ability, and the MTC4BT constantly restarts, so I can’t get the mac of my bluetooth train on 60197.

      I enclose the error to see if you can help me, because I love this and I would like to get it to share it with more people and be able to make a huge autonomous model.

      Reboot…
      et Jul 29 2019 12:21:46

      rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clockdiv:2
      load:0x3fff0030,len:1184
      load:0x40078000,len:13132
      load:0x40080400,len:3036
      entry 0x400805e4

      [1] Setup: Starting MattzoTrainController for BLE…
      [1] Setup: Loading network configuration…
      Config file is empty
      Guru Meditation Error: Core 1 panic’ed (LoadProhibited). Exception was unhandled.

      Core 1 register dump:
      PC : 0x400d8df7 PS : 0x00060830 A0 : 0x800eefb5 A1 : 0x3ffcdce0
      A2 : 0x00000000 A3 : 0x3ffc4af8 A4 : 0x3f40114d A5 : 0x3ffc31d0
      A6 : 0x3ffcdde0 A7 : 0x80000001 A8 : 0x800d8dec A9 : 0x3ffcd780
      A10 : 0x3ffbc314 A11 : 0x00000000 A12 : 0x301a2a4f A13 : 0x3ffcdcbc
      A14 : 0x3ffc4af8 A15 : 0x00000000 SAR : 0x00000010 EXCCAUSE: 0x0000001c
      EXCVADDR: 0x00000048 LBEG : 0x40090e99 LEND : 0x40090ea9 LCOUNT : 0xfffffffa

      Backtrace:0x400d8df4:0x3ffcdce00x400eefb2:0x3ffcdd40

      ELF file SHA256: 0000000000000000

    • #5396
      Hilbert BHilbert B
      Moderator

      Hi,

      If you read the error it points you to the right direction:
      [1] Setup: Loading network configuration…
      Config file is empty

      Please read:

      MattzoTrainController for Bluetooth (MTC4BT)

      You did not upload the configuration file, or you uploaded an empty file.
      There must be two files:
      network_config.json
      controller_config.json

    • #5397
      almogualmogu
      Participant

      yes, I saw it, but I saw that the file is not empty, it is the same as the tutorial, but with my wifi data, mqtt, and the controller_config.json the same as on the web. these files are in /data.
      when clicking on upload, should they load? or how can I do to load them.
      I have everything the same as in the tutorial, I even bought the same board to avoid failures.
      Thanks for the help.

    • #5398
      Hilbert BHilbert B
      Moderator

      Hi,
      Yes, it should upload. That is also described there.
      Here is more or less the same:

      ESP32 with VS Code and PlatformIO: Upload Files to Filesystem (SPIFFS)


      It looks like there are no files uploaded.

    • #5400
      almogualmogu
      Participant

      Thank you very much, it is the ignorance of the world VS. Now I will continue.
      Thanks again. I hope I don’t ask too many questions XD

Viewing 4 reply threads
  • You must be logged in to reply to this topic.