对 ROM DOS 设备进行逆向工程

发布于 2024-10-09 20:16:49 字数 987 浏览 1 评论 0原文

我知道我的问题可能太抽象和棘手,无法用 OneTrueAnswer© 来回答,但我希望我能够很好地表达自己,以便收到某种有用的反馈。

我拥有了一个有趣的设备,具有以下规格。 (来自http://www.motia.co.kr/product/product_03.asp):

  • 80386 兼容处理器 (Intel) 33MHz
  • SRAM 512KB
  • 闪存 4MB
  • ROM 512KB
  • 视频 32KB
  • 320 x 200 像素 STN LCD 带背光,带触摸屏
  • 3 个 RS-232 端口
  • ROM Dos 6.2 操作系统

当然,它不是 iNexus-Pre,但它是免费的;)。无论如何,它应该嵌入到轨道和轨道中。跟踪操作,安装在卡车的控制台上。但对我来说不是。我的目标是按照自己的意愿弯曲这个设备,将其与 Arduino(或类似设备)配对,以满足我对 DIY 项目的渴望。来吧,三个串口和触摸屏让我眼前一亮。

尽管我有一定的技术背景,但我必须承认我不知道从哪里开始。我可以做的就是打开它并从串行终端访问它的外壳,同时显示屏只显示:“系统正在初始化。请稍等...”,仅此而已。

当然,我尝试联系 Motia 索要某种 SDK,但我很快就被优雅地拒绝了。

因此,言归正传,我提出我的问题:

  1. 首先也是最重要的:值得吗?我愿意在这件事上花几个周末,但由于我无限的愚蠢,我没有意识到我的追求的难度。如果是这样...

  2. ...从哪里开始?我从未在 DOS 上开发过任何东西(至少是重要的),特别是使用 GUI。我希望我能够改变这一点。

  3. 我还能为您提供什么来帮助我实现目标?

每种反馈都会得到认可。

提前致谢!

I understand that my question is probably too abstract and tricky to be replied with an OneTrueAnswer©, but I hope I can express myself well enough to receive some kind of useful feedback.

It has come to my possession an interesting device which bears the following specs. (from http://www.motia.co.kr/product/product_03.asp):

  • 80386 Compatible Processor (Intel) 33MHz
  • SRAM 512KB
  • Flash Memory 4MB
  • ROM 512KB
  • Video 32KB
  • 320 x 200 pixels STN LCD with backlight, with touch panel
  • 3 RS-232 ports
  • ROM Dos 6.2 O.S.

Sure, it's not an iNexus-Pre, but it was free ;). Anyway, it's supposed to be embedded in track & tracing operations, mounted in a truck's console. Not to me, though. My goal is to bend this device to my own will, pairing it with an Arduino (or similar) to satisfy my lust towards DIY projects. Come on, the three serial ports and touch screen make my eyes glow.

And even though I come from a somewhat technical background, I must confess I don't know where to start with this thing. I can do as much as turning it on and accessing its shell from a serial terminal, meanwhile the display only shows: "System initializing. Please wait a moment...", and that's it.

Naturally, I tried to contact Motia to ask for a SDK of some sort, but I was promptly and elegantly dismissed.

So without further ado, I expose my questions:

  1. First and most important: Is it worth it? I'm willing to spend several weekends on the matter, but given my infinite stupidity I'm not aware of the difficulty of my quest. If so...

  2. ... where to start? I've never developed anything (significant at least) on DOS, specially with GUI. I hope I'm able to change that.

  3. What else can I provide you to help me accomplish my goal?

Every kind of feedback is endorsed.

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

漫雪独思 2024-10-16 20:16:49

<块引用>

值得吗?我愿意花几个周末来处理这件事

绝对不。这将是非常痛苦的,在购买带有文档的开发板后,花时间你会学到更多东西。

<块引用>

我还能为您提供什么来帮助我实现目标?

如果省钱是您的目标,请在 eBay 上搜索“开发触摸屏”。
现在有一个 STM32 模块,售价 58 美元。

更好的是,您可以在 http://www.adafruit.com 购买一台 Chumby,价格为 89 美元(不带 LCD)。

如果您确实想尝试一下微处理器并且花费不到 5 美元,请访问 http://www.yourwarrantyisvoid.com/2010/11/05/ti-launchpad-dev-kit-for-under-5/

Is it worth it? I'm willing to spend several weekends on the matter

Absolutely not. This is going to be very painful, and you would learn far more by spending your time after buying a development board with documentation.

What else can I provide you to help me accomplish my goal?

If saving money is your goal, search on ebay for "development touch screen".
Right now there is an STM32 module for $58.

Better yet, get a Chumby for $89 at http://www.adafruit.com (without the LCD).

If you really want to play around with a microprocessor and spend less than $5, get the TI development kit at http://www.yourwarrantyisvoid.com/2010/11/05/ti-launchpad-dev-kit-for-under-5/.

回首观望 2024-10-16 20:16:49

如果没有更多细节,很难说太多,我不熟悉这个特定的平台,但我可以尝试提供一些通用建议。

看起来像是某种嵌入式 PC。 BIOS 将从闪存驱动器启动(MS?)DOS。当DOS启动时,它首先通过config.sys加载驱动程序,然后运行autoexec.bat。您可能拥有的是闪存驱动器上的一些自定义应用程序,它知道如何与其余硬件(LCD 等)通信。闪存是在插槽中吗?一种方法是尝试读取闪存和/或对其重新编程。你立案了吗?电路板和/或 IC 上还有其他标记吗?您可以上传照片吗?

如果您想使用 LCD,您需要弄清楚它是如何连接的。如果它只是一个与 PC 兼容的视频适配器(这似乎有问题,因为你没有看到太多关于它的信息),那么编程就相当容易。如果不是的话,没有文档,这将是非常困难的。

看来至少在弄清楚板上的文件系统后,您需要重新编程板上的闪存。没有文档,也没有工具(?),这将非常复杂。从软件的角度来看,您应该能够找到许多用于 PC/MS-DOS 开发的免费工具,但要达到将软件部署到该设备并控制其硬件的程度,听起来需要几个周末的时间,因为你的文档为零。如果你很幸运,一旦打开外壳,你会发现一些明显标记的端口,你可以在其中连接显示器和 PC 键盘,甚至可能是软盘驱动器 - 一些嵌入式 PC 板有这些。

It's hard to say too much without more details, I am not familiar with this particular platform but I can try offer some generic advice.

Seems like some sort of embedded PC. The BIOS will boot (MS?) DOS from the flash drive. When DOS starts it first loads drivers via config.sys and then run autoexec.bat. What you probably have is some custom application on that flash drive that knows how to talk with the rest of the hardware (LCD etc.). Is the flash memory in a socket? One path would be to try and read out the flash and/or reprogram it. Have you opened up the case? Are there any other markings on the board and/or IC's - can you upload a photo?

If you want to use the LCD you will need to figure out how it is connected. If it is simply a PC compatible video adapter (which seems questionable because you're not seeing much on it) then it is fairly easy to program. If it isn't then without documentation it is going to be very difficult.

It seems that at the very least you'll need to reprogram the flash on the board after you figure out the file system on it. With no documentation and no tools(?) that will be pretty complicated. From a software perspective you should be able to find a lot of free tools for PC/MS-DOS development but getting to the point where you can deploy your software to this device and control its hardware sounds like more than a couple of weekends given that you have zero documentation. If you're very lucky once you open the case up you'll find some clearly marked port where you can connect a monitor and a PC keyboard and perhaps even a floppy drive - some embeddeded PC boards have those.

公布 2024-10-16 20:16:49

我以前用过嵌入式 ROM-DOS。

它来自通用软件公司。

您可以使用 COM1 上的 PC 作为终端。
默认行为是 COM1 上的串行控制台。
波特率介于 19200 到 115200 波特之间。先试试115200。

发送一个中断来重置设备,并发送一个 control-C 来中断 autoexec.bat

我不是在开玩笑。

它可能是 AMD ELAN 处理器;规格看起来与我起诉使用的设备相似
我想我家里还有一块我们从工作中扔掉的评估板。

快速谷歌一下嵌入的 DOS-ROM,可以得到 http://www. compulab.co.il/all-products/download/edos-man.pdf

您可以使用 Borland C 或 Turbo Pascal 的旧 (dos) 副本对其进行编程。

Iterserver 中有一个 hinky 版本,与 microsoft DOS 版本不 100% 兼容。

I've use an embedded ROM-DOS before.

It comes from General Software Corporation.

You can use a PC on COM1 as a terminal.
Default behavior is serial console on COM1.
Baud rate is somewhere fom 19200 to 115200 baud. Try 115200 first.

Send a break to reset the device, and a control-C to interrupt the autoexec.bat

I'm not joking.

It's probably an AMD ELAN processor; the specs look similar to a device I sued to work with
I think I still have a eval board for one at home that we junked from work.

A quick google for embeeded DOS-ROM gets http://www.compulab.co.il/all-products/download/edos-man.pdf

You can program it using an old (dos) copy of Borland C or Turbo Pascal.

It has a hinky version in Iterserver not 100% compatible with the microsoft DOS one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文