Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. CubeCell HAL anyone?

CubeCell HAL anyone?

Scheduled Pinned Locked Moved Hardware
12 Posts 5 Posters 140 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eiten
    wrote on last edited by
    #1

    Hi there,

    before I spend some nights, did anyboady already write a HAL for the ASR6501 or ASR6502?
    I think the CubeCell would make a GREAT base for MySensors sensors.

    Regards, Edi

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CarloMagno
      wrote on last edited by
      #2

      It is a very interesting board. I would also like to try it for future development. It has gained support in the arduino IDE and Platformio, but I beleive MySensors library is not ready to be used with it (at least I couldn't get it to compile) ... and I wouldn't know where to start to contribute and make it compatible...

      1 Reply Last reply
      0
      • B Offline
        B Offline
        boozz
        wrote on last edited by
        #3

        Hi @eiten

        What does HAL stand for?

        Thanks, Boozz

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CarloMagno
          wrote on last edited by
          #4

          @boozz said in CubeCell HAL anyone?:

          What does HAL stand for?

          Hardware Abstraction Layer. It is a middle piece (sort of translator) in the software where the characteristics of the hardware you are goint to use are defined so the software developers can use the same code for different architectures... and be aware I am very low in the coding chain, so this definition is my pure and ignorant understanding of the concept :face_with_rolling_eyes:
          https://github.com/mysensors/MySensors/tree/master/hal/architecture

          1 Reply Last reply
          1
          • E Offline
            E Offline
            eiten
            wrote on last edited by
            #5

            Yes, exactly.

            Well, I think we would have to write the HAL functions (which is not too hard as I imagine) as a first step. I hope we could use the RFM95 drivers in a first step, but the Framework compiles with a LoRa and a LoRaWAN app. If we have luck, we have no collisions.
            In a further step, I would test if it is worth while to implement a new transport and use the native LoRa-stack.

            Well, I think I fork the github-repository and start to play around...

            1 Reply Last reply
            1
            • E Offline
              E Offline
              eiten
              wrote on last edited by
              #6

              Hi there. Some progress. I got it to compile... but obviously, I got some problems... Main problem is, the debug output does not do any newlines or so... hard to read. Any ideas on that?

              1 Reply Last reply
              0
              • E Offline
                E Offline
                eiten
                wrote on last edited by
                #7

                Does anyone know how to get ST-LINK, JLINK or blackmagic probe to work with the CubeCell? I need to debug...

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  eiten
                  wrote on last edited by eiten
                  #8

                  Ok status update after a short night:

                  • HAL for the CPU/Boards is working, but:
                  • ASR506x printf is broken, for example hhu is not working
                  • ASR506x Serial.flush is broken, it skips the last 8 bytes in the buffer
                  • I can't get the RFM95 transport to work, and CubeCell
                  • Somehow, [underscore][underscore]linux[undersocre][underscore] always seems to get defined, but I can't figure out where
                  • documentation/source code is horrible. I think I'm going to write a new transport based on LORA_App

                  Regards, Edi

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    eiten
                    wrote on last edited by
                    #9

                    New status update: IT WORKS!
                    I have to implement sleep and ATC, then I will upload it to GitHub for testing, if anyone is iterested...

                    L 1 Reply Last reply
                    3
                    • E eiten

                      New status update: IT WORKS!
                      I have to implement sleep and ATC, then I will upload it to GitHub for testing, if anyone is iterested...

                      L Offline
                      L Offline
                      leroyl
                      wrote on last edited by
                      #10

                      @eiten Great job, I'll give it a try once my boards get in.

                      1 Reply Last reply
                      1
                      • nagelcN Offline
                        nagelcN Offline
                        nagelc
                        wrote on last edited by
                        #11

                        Cool!
                        I have some E78's laying around because they seemed like a nice processor/radio package. But that looked like too big a project for my skills.
                        I'm going to have to dig them out now that there might be a path to get them to work with MySensors.

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          eiten
                          wrote on last edited by
                          #12

                          @leroyl, @nagelc: Please check out this thread to get you started. @nagelc oh, true, I got some E78 somewhere around... I gotta search them :face_palm:

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          10

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular