question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to determine hardware for model 3 B plus (BCM2835)

See original GitHub issue

Bug: Pi 3 B+ not recognized by pi47: Unable to find hardware Result: Received an error ‘Unable to determine hardware version’ Desired Result: Pin provisions appropriately

I received this error when trying to provision a digital output pin:

Unable to determine hardware version. I see: Hardware: BCM2835 expecting BCM2708 or BCM2709. If this is a genuine Raspberry Pi then please report this to projects@drogon.net. If this is not a Raspberry Pi then you are on your own as wiringPi is designed to support the Raspberry Pi ONLY.

I am using version 1.1 of pi4j <dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-core</artifactId> <version>1.1</version> </dependency>

This is the code that I am trying to execute

public boolean setValue(int equipmentId, String value) { System.out.println("Setting "+equipmentId+" value of "+value); PinState state = value=="0"?PinState.LOW:PinState.HIGH; GpioPinDigitalOutput equipment = gpio.provisionDigitalOutputPin(RaspiPin.getPinByAddress(equipmentId), "Equipment", PinState.LOW); equipment.setState(state); return true; }

Debian Version: 9.4

CPU info: processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

Hardware : BCM2835 Revision : a020d3 Serial : 000000005f55642c

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
savageautomatecommented, Apr 23, 2018

I was able to update the Pi4J 1.2-SNAPSHOT build today with the latest WiringPi. I have not had a change to thoroughly test it but it is available if you want to try it again.

Please Note: I have removed the default Pi4J native library static compile against WiringPi. Now Pi4J only dynamically links against WiringPi and thus you must have WiringPi installed on your target Raspberry Pi system. (WiringPi is already included by default in the latest Raspbian images)

2reactions
savageautomatecommented, Apr 25, 2018

@m00fighter

Thanks for the update and glad to hear its working for you now.

As a reminder to others, you must have WiringPi installed on your system with the latest 1.2-SNAPSHOT builds.

sudo apt-get install wiringPi

Thanks, Robert

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hardware : BCM2835 error on RaspberryPi B+ #319 - GitHub
Unable to determine hardware version. I see: Hardware : BCM2835 ,. expecting BCM2708 or BCM2709. If this is a genuine Raspberry Pi then...
Read more >
"Unable to determine hardware version" - Raspberry Pi Forums
Brand new Pi 2 model B, and I had just run apt-get update/upgrade. Made sure I had latest version of WiringPi. GPIO command...
Read more >
BCM2835 on an RPi 3? - Raspberry Pi Stack Exchange
Look it up in this table to confirm what you really have. In your case, it's a Pi3B manufactured by Embest. Code Model...
Read more >
C library for Broadcom BCM 2835 as used in Raspberry Pi
The BCM2835 supports hardware PWM on a limited subset of GPIO pins. This bcm2835 library provides functions for configuring and controlling PWM output...
Read more >
LabView 2020 Professional with Raspberry Pi Model 3 B+
Hi there,. i am constantly failing to install Linx Software on Raspberry Pi Modell 3 B+. I use LabView 2020 Professional and Linx...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found