Mod5270 - mode of execution after loading from bootloader

Discussion to talk about software related topics only.
Post Reply
sreenath
Posts: 2
Joined: Sun Sep 30, 2012 12:46 am

Mod5270 - mode of execution after loading from bootloader

Post by sreenath »

Hi
This is the first time I am using Mod5270. If I load a program into Mod5270 RAM/Flash, will it be run in user mode or supervisor mode? Specifically, does the boot-loader (the monitor) switch over to user mode before handling control to user program, or continue in supervisor mode? I will use the serial port to load user programs to mod5270.

Also, has anyone used Freebsd to communicate with Mod5270? I have GCC compiler for 68k/coldifire setup on my freebsd desktop, and would like to load programs to 5270 from this system.

thanks,
Sreenath
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: Mod5270 - mode of execution after loading from bootloade

Post by pbreed »

You are always in supervisor mode, no switch is made at boot time.
sreenath
Posts: 2
Joined: Sun Sep 30, 2012 12:46 am

Re: Mod5270 - mode of execution after loading from bootloade

Post by sreenath »

Thanks.

-Sreenath
Post Reply