Hallowing M4 board (defective?)

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Hallowing M4 board (defective?)

Post by emelbard »

Just received an M4 board and powered it up and there is no eye on the screen.
I was planning on doing the candy bowl project this weekend but I believe this board is defective.

Since time is short, I'll probably just order another board but it appears I need to contact you through these forums for an RMA.

Thanks

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Hallowing M4 board (defective?)

Post by dastels »

Have you read the tutorial guide and set up properly? https://learn.adafruit.com/adafruit-hallowing-m4

Dave

User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Re: Hallowing M4 board (defective?)

Post by emelbard »

Yes I've read that. Upgraded the bootloader per the instructions. Then downloaded and installed EYES_TOUCH.UF2 to the boot drive. Still nothing on the screen. Hitting reset and power cycling doesn't bring it up

UF2 Bootloader v3.14.0 SFHWRO
Model: HalloWing M4
Board-ID: SAMD51J19A-HalloM4-v0

Thank you for the rapid response

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Hallowing M4 board (defective?)

Post by dastels »

EYES_TOUCH.UF2?? Where is that?

Dave

User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Re: Hallowing M4 board (defective?)

Post by emelbard »

https://learn.adafruit.com/hallowing-m4 ... l/software
I've followed these instructions as well as the quick start from your earlier link.
These boards generally come with a demo (I think it's HallowM4eye) and even that hasn't worked when I tried installing manually.
Have tried bootloaders from latest back to 3.9 and also a couple different eye U2F files. Nothing ever shows on the screen.

User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Re: Hallowing M4 board (defective?)

Post by emelbard »

So I finally got one of the U2F files to do something. Read on the forum about others not being able to get EYES_TOUCH to work (which is the candy bowl project I found on adafruit). I also read that there are 2 files called HALLOM4EYE.U2F on your site. I tried both and one worked on this board. I'll try to attach them here.

So the screen is working but that still doesn't solve my issue of needing EYES_TOUCH to work since that's the program I need to run for this project.

Had to rename the files to attach. Just change back to .U2F
Attachments
EYES_TOUCH.txt
not working
(1 MiB) Downloaded 2 times
HALLOM4EYE.txt
not working
(1 MiB) Not downloaded yet
HALLOM4EYE(WORKS).txt
working
(1 MiB) Downloaded 1 time

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Hallowing M4 board (defective?)

Post by dastels »

I thought that had been fixed. The one at https://learn.adafruit.com/adafruit-hal ... /downloads should work. I assume that's the one you found.

You can also compile/upload your own copy using Arduino. See https://learn.adafruit.com/adafruit-hal ... ource-code.

Dave

User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Re: Hallowing M4 board (defective?)

Post by emelbard »

Thanks. Did you look at TOUCH_EYES to see if it's suppose to work as mentioned on this page?
https://learn.adafruit.com/hallowing-m4 ... l/software

As much as learning to compile arduino sounds interesting, I don't have the time right now and this list of parts bought from you was supposed to be a quick drag and drop to get the eye working for this candy bowl.

https://learn.adafruit.com/hallowing-m4 ... l/software
I followed this learn page and bought all the parts listed thinking I could use the software link on that very page to get it to work. If this is not the case, I'll probably want to return everything I just purchased

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Hallowing M4 board (defective?)

Post by dastels »

I just ordered a Hallowing M4 to test this out. Probably a good idea as Halloween approaches.

Meanwhile some questions that come to mind.

Does it mount a drive with the graphics and config files when you connect to it?

Do you get any LEDs lighting up? Does it behave the same way when powered by battery?

Is the power switch set to "on"?

Dave

User avatar
us3r
 
Posts: 34
Joined: Mon Jan 04, 2021 6:05 pm

Re: Hallowing M4 board (defective?)

Post by us3r »

There are two versions of Hallowing M4 out in the wild. One with the MSA301 (older version) and the other with MSA311 (latest version) accelerometers. The EYES_TOUCH works on the the older version but not on the latest one.

I was able to compile the source code for the latest version with the following hacks and using Arduino IDE 2.0.0 (the 1.8.19 vesrion should also work, but I didn't tested). The whole process should take a few minutes.

Download the source files:
https://learn.adafruit.com/pages/17050/ ... d?type=zip

Install all the required libraries and board definitions for your Hallowing M4.
https://learn.adafruit.com/adafruit-mon ... ource-code

Modify line 16 in the Adafruit_MSA301.h file in the libraries folder to change the I2C address of the MSA301 to be the same to the MSA311. (I know, it is hackish, but I didn't want to spend too much time with the obfuscated code.)

Code: Select all

#define MSA301_I2CADDR_DEFAULT (0x62) ///< Fixed I2C address
Modify user.cpp line 5 to:

Code: Select all

#if 0 // Change to 0 to disable this code (must enable ONE user*.cpp only!)
Modify user_touchneopixel.cpp line 5 to:

Code: Select all

#if 1 // Change to 1 to enable this code (must enable ONE user*.cpp only!)
Under Tools menu, setup your board, com port and change USB Stack from Arduino to TinyUSB (You may follow the other settings for overclocking and optimization listed in the "Source, Libraries and Settings" page if you wish).

Click Upload and wait for the magic to happen.

I wish you best of luck!

User avatar
emelbard
 
Posts: 6
Joined: Mon Mar 12, 2018 7:24 pm

Re: Hallowing M4 board (defective?)

Post by emelbard »

us3r wrote: Tue Oct 04, 2022 12:03 am There are two versions of Hallowing M4 out in the wild. One with the MSA301 (older version) and the other with MSA311 (latest version) accelerometers. The EYES_TOUCH works on the the older version but not on the latest one.

I was able to compile the source code for the latest version with the following hacks and using Arduino IDE 2.0.0 (the 1.8.19 vesrion should also work, but I didn't tested). The whole process should take a few minutes.

Download the source files:
https://learn.adafruit.com/pages/17050/ ... d?type=zip

Install all the required libraries and board definitions for your Hallowing M4.
https://learn.adafruit.com/adafruit-mon ... ource-code

Modify line 16 in the Adafruit_MSA301.h file in the libraries folder to change the I2C address of the MSA301 to be the same to the MSA311. (I know, it is hackish, but I didn't want to spend too much time with the obfuscated code.)

Code: Select all

#define MSA301_I2CADDR_DEFAULT (0x62) ///< Fixed I2C address
Modify user.cpp line 5 to:

Code: Select all

#if 0 // Change to 0 to disable this code (must enable ONE user*.cpp only!)
Modify user_touchneopixel.cpp line 5 to:

Code: Select all

#if 1 // Change to 1 to enable this code (must enable ONE user*.cpp only!)
Under Tools menu, setup your board, com port and change USB Stack from Arduino to TinyUSB (You may follow the other settings for overclocking and optimization listed in the "Source, Libraries and Settings" page if you wish).

Click Upload and wait for the magic to happen.

I wish you best of luck!
Really appreciate this. I've tried a few times and think I'm not correctly installing the required libraries. Any chance you could share your working EYES_TOUCH file? I got sidetracked on this project and my wife just asked me today if I got it working :O

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”