3050311118 发表于 2016-3-9 14:04:02

太变态了201602版无线电一文章把avr当arm模拟器运行了linux

并且用Proteus成功模拟了。
关键是还开放了所有源代码
https://github.com/TonyLianLong/uARM

ackk 发表于 2016-3-9 14:07:30

linux本来就有AVR版本啊

jufr12315 发表于 2016-3-9 14:09:16

我想问怎么才能有无线电杂志

3050311118 发表于 2016-3-9 14:11:07

ackk 发表于 2016-3-9 14:07
linux本来就有AVR版本啊

那个是avr先模拟arm,再运行arm版本的linux

3050311118 发表于 2016-3-9 14:12:07

而且所有的电路搭建都在proteus里完成,作者还提供proteus文件

浮华一生 发表于 2016-3-9 14:15:28

是Linux还是 uclinux MMU完全软件实现么

3050311118 发表于 2016-3-9 14:15:29

看这个,都有mmu

3050311118 发表于 2016-3-9 14:16:00

浮华一生 发表于 2016-3-9 14:15
是Linux还是 uclinux MMU完全软件实现么

是linux是的

motoedy 发表于 2016-3-9 14:17:45

3050311118 发表于 2016-3-9 14:12
而且所有的电路搭建都在proteus里完成,作者还提供proteus文件

哪里能下到proteus文件?github 里面好像没找到。。

3050311118 发表于 2016-3-9 14:20:05

motoedy 发表于 2016-3-9 14:17
哪里能下到proteus文件?github 里面好像没找到。。

https://github.com/TonyLianLong/uARMSim?files=1
你看下这个

墨非 发表于 2016-3-9 14:26:58

几年前不是有个大牛在8位AVR上模拟了x86 跑linux了吗,据说上电一个小时后linux第一条显示信息打印了出来 。

菜包 发表于 2016-3-9 14:41:13

理论上只需要做一个arm指令解释器就行了,类似于解释型语言

gonboy 发表于 2016-3-9 14:44:45

很厉害啊!
确实AVR上模拟了一个ARM.

gonboy 发表于 2016-3-9 14:46:45

虽然熟速度很慢:

How fast is it?

uARM is certainly no speed demon. It takes about 2 hours to boot to bash prompt ("init=/bin/bash" kernel command line). Then 4 more hours to boot up the entire Ubuntu ("exec init" and then login). Starting X takes a lot longer. The effective emulated CPU speed is about 6.5KHz, which is on par with what you'd expect emulating a 32-bit CPU & MMU on a measly 8-bit micro. Curiously enough, once booted, the system is somewhat usable. You can type a command and get a reply within a minute. That is to say that you can, in fact, use it. I used it to day to format an SD card, for example. This is definitely not the fastest, but I think it may be the cheapest, slowest, simplest to hand assemble, lowest part count, and lowest-end Linux PC. The board is hand-soldered using wires, there is not even a requirement for a printed circuit board.

motoedy 发表于 2016-3-9 14:52:04

3050311118 发表于 2016-3-9 14:20
https://github.com/TonyLianLong/uARMSim?files=1
你看下这个

运行不了,报错 protues 8.4 sp0。。
有运行成功的?

笑笑我笑了 发表于 2016-3-9 15:01:01

论坛里面好早就有帖子说了啊,开机花了半小时,格式化SD卡花了4个小时。

浮生莫若闲 发表于 2016-3-9 15:36:42

这个是有兴趣,而且时间多,不愁没饭吃的人做的事

huangqi412 发表于 2016-3-9 15:36:50

proteus自带例程里似乎是有一个的。

huangqi412 发表于 2016-3-9 15:37:36

话说PROTEUS这个东西也是好多年没消息了样的,大家都用ARM芯片了,配上JLINK用的爽歪歪,也就没人用这个东西了。

3050311118 发表于 2016-3-9 18:04:08

huangqi412 发表于 2016-3-9 15:36
proteus自带例程里似乎是有一个的。

那个自带的是arm内核硬件范例

xwkm 发表于 2016-3-9 18:14:31

ackk 发表于 2016-3-9 14:07
linux本来就有AVR版本啊

Linux没有AVR8的版本.也不可能有

xwkm 发表于 2016-3-9 18:15:33

这个uARM模拟器其实很早以前就有了,TLL只是拿来包装了一下而已.

雨雪随行 发表于 2016-3-9 21:09:45

不是有大神跑过乌般图吗?学习挺好,可以没有太多使用价值

lw2012 发表于 2016-3-9 21:16:40

还不如用ARM模拟个AVR来的有意义。。。。

我是谁712 发表于 2016-3-9 21:33:13

jufr12315 发表于 2016-3-9 14:09
我想问怎么才能有无线电杂志

买呀,淘宝上有

jufr12315 发表于 2016-3-9 22:02:50

我是谁712 发表于 2016-3-9 21:33
买呀,淘宝上有

{:handshake:} 多谢

3DA502 发表于 2016-3-9 22:04:34

一个英国的家伙好多年前搞的这个东西

snowy 发表于 2016-3-9 22:55:11

可以订阅

HYLG 发表于 2016-3-9 22:57:30

大家都很忙,外国闲人多.

_yuming 发表于 2016-3-9 23:17:12

3DA502 发表于 2016-3-9 22:04
一个英国的家伙好多年前搞的这个东西

是的,当时我看过这个使用Mega系列的芯片做的。。。

cc224 发表于 2016-3-10 07:52:56

内存不够,程序长度也不够,怎么跑?

ilan2003 发表于 2016-3-10 08:09:37

浮生莫若闲 发表于 2016-3-9 15:36
这个是有兴趣,而且时间多,不愁没饭吃的人做的事

呵呵         有道理

avr-arm 发表于 2016-3-10 08:25:58

果断Fork一下

tsb0574 发表于 2016-3-10 08:27:26

牛气,这个真的是吃饱了撑的!

ersha4877 发表于 2016-3-10 08:54:48

cc224 发表于 2016-3-10 07:52
内存不够,程序长度也不够,怎么跑?

记得是AVR外挂快电脑的内存,在跑的

紫胤真人 发表于 2016-3-10 11:17:51

然并卵。。。。。。

gtembeded 发表于 2016-3-10 11:35:18

这个估计是重在学习吧!

bbs2009 发表于 2016-3-10 12:57:36

liugu 发表于 2018-5-7 23:03:41

内存空间空吗,Avr也就64K的空间吧

mychestnut 发表于 2018-5-7 23:07:18

自从atmel被microchip收购后,关注的就少了。以前还是很喜欢AVR系列的。

a9191389 发表于 2018-5-8 08:27:05

闲人干的事情。

ZL_electric 发表于 2018-5-8 09:08:03

蛋疼,大人十分钟扛走一块百斤大石,非说小孩也可以,结果,让小孩花一周砸碎大石,一块块搬走了,有意思吗
页: [1]
查看完整版本: 太变态了201602版无线电一文章把avr当arm模拟器运行了linux