TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Low Level Programming of the Raspberry Pi in C (2013)

171 pointsby mountainplusover 6 years ago

7 comments

edooover 6 years ago
If you need a little bit more determinism the beaglebone has a PRU (programmable realtime unit), a separate processor that can pass data back and forth to the main RAM.<p><a href="http:&#x2F;&#x2F;beagleboard.org&#x2F;pru" rel="nofollow">http:&#x2F;&#x2F;beagleboard.org&#x2F;pru</a><p>I was able to use one to read in an 8 bit parallel bus at around 8MHz without having to build a separate board with appropriate MCU.
评论 #19140811 未加载
jsd1982over 6 years ago
Sure it&#x27;s low level in that you&#x27;re poking at physical memory registers, but to me, low level in this context (thinking microcontrollers) means replacing the Linux kernel binary with your own application that does its own direct memory poking.
评论 #19142422 未加载
评论 #19141710 未加载
评论 #19143125 未加载
评论 #19144334 未加载
sansnommeover 6 years ago
There used to be one in Rust but it seems that this year it reverted back to C.<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;7pymd9&#x2F;stanford_cs140e_operating_systems_writing_a&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;rust&#x2F;comments&#x2F;7pymd9&#x2F;stanford_cs140...</a>
codewritinfoolover 6 years ago
Check out ultibo.org It is Pascal, not C, but runs down on bare metal.
SomaticPirateover 6 years ago
Is there a Raspberry PI emulator that exists that I could test my code on before attempting to load it onto the device?
评论 #19140403 未加载
评论 #19141037 未加载
cpoileover 6 years ago
Is this the kind of thing that might be good for a kid (9) to learn as a first step into real CS?
jihadjihadover 6 years ago
Very cool! Has anyone seen a Rust equivalent of something like this?
评论 #19140522 未加载