嵌入式开发板
我是嵌入式开发领域的新手,正在寻找我的第一块板。
经过一番研究,我意识到 FPU 的选择并不多。这在我的项目中很重要,因为我将进行大量的浮点计算。
我发现Mini2440似乎运行在ARM920T内核上。这个特殊的单元非常适合我的需求(价格合理、所有正确的 I/O 端口以及可启动的触摸屏),但它似乎没有 FPU。我不知道我会为 FP 模拟付出多大的代价,所以我不确定是否要扣动扳机。
也就是说:
- 有人可以确认一下这个产品(Mini2440)是否有FPU吗?
- 我的项目将进行图像捕获和分析。有谁有在此类平台上运行 OpenMP 之类的东西的经验吗?
- 请推荐任何其他价格范围 ≤ 200 美元且具有 FPU 的类似板。
- 这个世界对我来说是新的。非常感谢任何其他建议或我应该注意的事情。
I'm new to the embedded development world and am looking to get my very first board.
After some research, I realize that there aren't many choices with FPUs. This is important in my project as I'm going to be doing quite a bit of floating point computations.
I found the Mini2440 which seems to run on the ARM920T core. This particular unit is perfect for my needs (decent price, all the right I/O ports, and a touch screen to boot) but it seems that it doesn't have an FPU. I don't know how big of a penalty I'd be paying for FP emulation, so I'm unsure of whether to pull the trigger on this one.
That said:
- Can someone please confirm whether this product (Mini2440) has an FPU or not?
- My project will do image capture and analysis. Does anyone have any experience with running things like OpenMP on such platforms?
- Please suggest any other similar boards in the ≤ $200 price range that have an FPU.
- This world is new to me. Any other advice or things I should be aware of is much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
定点数学几乎可以完成浮点可以做的所有事情,而 ARM 处理器的移位优化更喜欢定点。我已经很久没有使用 FPU 了,定点编码对我来说已经是第二天性了。更好的是,固定数学通常更准确。
简而言之,不要因为一块板没有 FPU 而放弃它。 :)
Fixed Point math can do nearly everything Floating point can and ARM processors with their shift optimization love fixed point. I haven't had a FPU in so long that coding Fixed Point is second nature to me. And even better, Fixed math quite often is more accurate.
In short, don't write off a board because it doesn't have an FPU. :)
您查看过 BeagleBoard 吗?它的ARM CPU有用于浮点的VFP和用于SIMD浮点的NEON。成本约为 200 美元。
Did you look at the BeagleBoard ? Its ARM CPU has VFP for floating point and also NEON for SIMD floating point. Cost is around $200.
我无法给你 100% 的确认,但我 99% 确定该主板的处理器没有 FPU;在该目标市场中,如果存在的话,将会在处理器数据表中明确提及。
作为一个附带问题的答案:我们最近做了一些基准测试,最终将使用 FPU 的性能与不使用 FPU 的编译器浮点模拟的性能进行了比较。最终速度相差约 100 倍。
所以,是的,它是有效的——但是不,除了非常偶然的计算之外,你不想这样做。正如 Michael 指出的那样,对于没有 FPU 的嵌入式处理器上的计算来说,使用定点数学是一个更具吸引力的选择。
I can't give you 100% confirmation, but I'm 99% sure that board's processor doesn't have an FPU; in that target market, it would be mentioned explicitly in the processor datasheets if it were present.
As an answer to a side-question: We were recently doing a bit of benchmarking that ended up comparing performance with an FPU to performance with compiler floating-point emulation without the FPU. Ended up with about a 100x difference in speed.
So, yes, it works -- but no, you don't want to do that for more than very occasional computations. As Michael notes, using fixed-point math is a much more attractive option for computations on embedded processors that don't have FPUs.
没有触摸屏,不知道为什么这很重要,beagleboards 串行端口很奇怪,但你仍然可以得到一个终端,或者使用同样基于 omap 的 hawkboard,价格一半,设计更好一点,有以太网,因此你可以 vnc 输入和无需花费双倍或三倍液晶触摸屏价格即可获得完整的 GUI。
不要使用浮点臂,而是使用片上 (omap) DSP。 TI float 在很多方面都优于 IEEE。
No touchscreen, not sure why that matters, the beagleboards serial port is screwy but you still get a terminal, or go with a hawkboard which is also omap based, half the price and designed a little better, has ethernet so you can vnc in and get a full gui without double or tripling the price on a lcd touchscreen.
Instead of going with floating point arm, use the on chip (omap) dsp for that. TI float is superior to IEEE in so many ways.
尝试带有 FPU 的三星 S3C6410。以及 Witech OK6410 板,配备三星 S3C6410 cpu 和4.3 英寸 LCD,仅 139 美元
Try the Samsung S3C6410 with FPU. And the Witech OK6410 board with Samsung S3C6410 cpu and 4.3" LCD, $139 only