Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
FreeDOS prompt in Serial Console
2014 年 08 月 06 日
09:17:01
bcarroll
Moderator
Forum Posts: 12
Member Since:
2014 年 08 月 04 日
Offline

Is it possible to get the FreeDos prompt in the Serial Console?

I wrote the SysImage file (86duino104.img) to a micro SD card and am able to see the SysImage menu, so I have confirmed that much works.

I then edited autoexec.bat (from a Windows PC) and commented out the _v86boot line, so the SysImage menu is not displayed anymore, but I can't figure out how to get a DOS prompt to be displayed on the Serial Console.

I saw another post (from Dinosaur) that mentioned using mode and ctty commands in the autoexec.bat, but nothing I have tried is working. Am I missing something?

MODE com4:9600,N,8,1,P
ctty com4

2014 年 08 月 07 日
03:23:50
bcarroll
Moderator
Forum Posts: 12
Member Since:
2014 年 08 月 04 日
Offline

I tried uart4.exe from another post but that doesn't work either.
http://www.86duino.com/?page_i.....ducake#p63

FYI, The board I am working with is the 86duino One

2014 年 08 月 07 日
17:35:37
cucubutter
Moderator
Forum Posts: 84
Member Since:
2014 年 04 月 10 日
Offline

Hi bcarroll :
86Duino One doesn't have COM port, you need use Adapter plate,
if you want to TTL to +-12V, have to prepare ADM213 chip or MAX232 chip,
if you want to TTL to USB, have to prepare FTDI chip.
I already try to TTL to USB, i buy a FT232RL, use TX1,RX1, and write a little program,(because if want to use COMPORT, have to switch CROSSBAR ),you just pull the TX1,RX1,GND to the FTDI. Finally edit the autoexec.bat in sysimage, excute the little progam.

My little program
https://www.dropbox.com/s/pssm9iuszt1mgkc/usecom1.rar

cucubutter

2014 年 08 月 08 日
06:37:04
bcarroll
Moderator
Forum Posts: 12
Member Since:
2014 年 08 月 04 日
Offline

thanks for the reply!

Can the micro USB port not be used as a COM port?

2014 年 08 月 08 日
08:10:04
bcarroll
Moderator
Forum Posts: 12
Member Since:
2014 年 08 月 04 日
Offline

I attached a FTDI TTL to USB adapter to RX1, TX1, GND, 5V but am not seeing anything in my terminal.

Do I need to add a shell/shellhigh reference in FDConfig.sys to load command.com or 4dos.com to get a shell?

Can you post a complete autoexec.bat and fdconfig.sys for reference?

It's been a long time since I've messed with DOS...

2014 年 08 月 08 日
10:17:14
cucubutter
Moderator
Forum Posts: 84
Member Since:
2014 年 04 月 10 日
Offline

Hi
I don't edit the FDConfig.sys,only edit the autoexec.bat.
my autoexec.bat.
/***********************************************/
@echo off
SET DOSDIR=C:\FDOS
SET DIRCMD=/P /OGN /4
SET COPYCMD=/-Y

REM SET NLSPATH=%dosdir%\NLS
REM SET HELPPATH=%dosdir%\HELP
SET TEMP=Z:\
SET TMP=%TEMP%

SET PATH=%dosdir%\BIN

LH DOSLFN

C:\NET\NETBIND.COM
C:\FDOS\BIN\RDISK.COM /S2 /:Z
usecom1
MODE com1 BAUDHARD=1152
ctty com1
rem _v86boot
/***********************************************/

PS. Input TX link Output RX,Input RX link Output TX.

cucubutter

2014 年 08 月 18 日
05:31:42
bcarroll
Moderator
Forum Posts: 12
Member Since:
2014 年 08 月 04 日
Offline

Awesome! that worked. I am now seeing a DOS prompt. Thanks!

The obvious question...
Since I can write a sketch that uses the micro-usb (Serial) why can't I do the same from DOS?

2015 年 02 月 16 日
03:20:38
smeezekitty
New Member
Forum Posts: 8
Member Since:
2013 年 12 月 24 日
Offline

bcarroll said

Awesome! that worked. I am now seeing a DOS prompt. Thanks!

The obvious question...
Since I can write a sketch that uses the micro-usb (Serial) why can't I do the same from DOS?

It isn't a real USB port. It seems to be emulated it when the x86 duino core goes offline, it seems to stop emulating.
Note: I am using based on observations.

Forum Timezone: Asia/Taipei

Most Users Ever Online: 66

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

lukeross: 8

tomka: 8

smeezekitty: 8

hippy: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1541

Moderators: 14

Admins: 5

Forum Stats:

Groups: 2

Forums: 10

Topics: 239

Posts: 1082

Newest Members: nhollywoodmarli, bat869cube672, lenggeleranto, iknowesp, dimka, elihu, Woodrowcercraby, Robertnalty, Homerwoppy, RonaldLew

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 211, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 20, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 0