FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2006 Threads] How to boot from DOC on picoFlash?Posted by Nobody/Anonymous on March 28, 2006 Hello,
I have picoFlash with Disk-On-Chip in hand. I would like to boot FreeRTOS from Disk-On-Chip on picoFlash. Has anyone done this? Please give me some hints.
I've compiled FreeRTOS by using WATCOM C. I also use EXE2BIN to get the ROM code although I don't know if the relocation segment setting(/l=0x0000) is correct or wrong. Then I program the ROM code by using dformat.exe(/win:e000 /s:rom_code_file). After I modified the jumper setting to boot from DOC, nothing happened.
Thanks.
Regards, David
RE: How to boot from DOC on picoFlash?Posted by Nobody/Anonymous on March 28, 2006 Unless you are doing something clever with Open Watcom and making the code romable (I think this is possible with OW), then the exe you get should be booted from DOS.
Can you load DOS on your piloflash board and boot FreeRTOS from that as per the flashlite 186 demo? You can use FreeDOS, or the DOS supplied by JK micro.
RE: How to boot from DOC on picoFlash?Posted by Nobody/Anonymous on March 28, 2006 I don't get it. Why do we need to boot FreeRTOS from DOS? Is FreeRTOS a program run under DOS? Can we boot FreeRTOS directly without any part of DOS? Thanks.
Regards, David
RE: How to boot from DOC on picoFlash?Posted by Nobody/Anonymous on March 28, 2006 You don't have to boot FreeRTOS from DOS. On most platforms this would never be done. But if you are using Open Watcom then you are probably building a dos executable.
The Flashlite 186 is an x86 based board that comes with dos preinstalled. Hence, building a dos executable is a convenient was of booting FreeRTOS on that platform.
You said you were using a converter program to convert your .exe. If you are building a .exe then you are not building a romable image.
RE: How to boot from DOC on picoFlash?Posted by Nobody/Anonymous on March 28, 2006 Now I get it. Booting FreeRTOS could be running FreeRTOS under DOS and then replacing the DOS to exclusively control the hardware. Thanks.
However, I'd still like to know some hints to booting FreeRTOS from Disk-On-Chip without DOS. And the following flow is what I think.
Reset --> picoBIOS --> TrueFFS BIOS --> boot loader(necessary?) --> FreeRTOS
Please correct me if I am wrong. Thanks.
Regards, David
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|