On Fri, 16 Jul 2010, 谢继雷 wrote:
> and I want to know if there is some options to control the simulated
> serial line's baud to S51 simulator.
Obviously there is no such option.
Baud rate is controlled by SFRs of timer and uart. Simulator counts
ticks and when all necessary bits are "received" i
On Thu, 6 Dec 2012, Vaclav Peroutka wrote:
Hi Vaclav,
> - ucsim - port is (as far as I remember) prepared but untested
It's very nice to hear that somebody is extending features of ucsim.
I'm going to pick up and continue to work on ucsim, some new things
are implemented already. By the way, I
On Thu, 2 Jun 2016, Benjamin Larsson wrote:
> https://github.com/merbanan/C8051F300_examples
>
> Everything worked fine. Then I switched to the C8051F330 mcu and all
> went to shit. Small examples worked somewhat but when compiling larger
Every year our students build a small panel as a student p
you start ucsim with -J option, trace will be turned on, and
_every_ instruction will print out cpu state like "info reg".
Tracing can be checked and turned on/off using "jaj" command which
accepts a boolean parameter:
$ ./sstm8
uCsim 0.6-pre30, Copyright (C) 1997 D
On Fri, 23 Jun 2017, tg9...@gmx-topmail.de wrote:
I'd like to use the uC simulation uCsim for test automation, and my use-case
requires the uCsim serial port simulation to exchange information through a
script.
You can find some examples for this usage in ucsim source code, see
example, s51.
On Sat, 24 Jun 2017, tg9...@gmx-topmail.de wrote:
This means that a program outside of uCsim needs to monitor the reply
from the µC code before the next line of input can be sent (handshake,
half-duplex operation).
Well, I don't have solution for this scenario. What about expect? I've
never
Hi,
I'm testing simulation of stm8 flash controller in ucsim. To start a
program/erase operation flash area must be written as data. sdcc-stm8
uses 16 bit pointers, is it possible to address over 64k somehow?
Daniel
---
Hi,
I'm using sdcc-stm8 with following code:
struct FLASH_t { ... ; volatile uint8_t iapsr; ...};
#define FLASH ((struct FLASH_t *)BASE_ADDRESS_OF_FLASH_CONTROLLER)
Program waits end of flash operation in a busy loop:
while ((FLASH->iapsr & 5) == 0) ...;
it works well rereading value of iaps
On Thu, 21 May 2020, Basil Hussain wrote:
I'm trying to understand how to use the μCsim simulator interface - the
interface between the program running within the simulator, and the
simulator itself. My aim is to have the program that's running in the
sim measure the execution time (i.e. no. o
On Wed, 22 Jul 2020, Basil Hussain wrote:
In ucSim, where or what defines how many simulated cycles each instruction
takes? Specifically, I am looking at the STM8 simulator.
Nowhere, and nothing defines that. Correct tick counting is not
implemented in uCsim (except s51). It counts 1 clock (t
On Thu, 23 Jul 2020, Basil Hussain wrote:
One would only expect it to simulate the nominal number
of cycles for all instructions.
It needs some work to make it more realistic.
This is confusing. What is the difference between 'vclks' and 'clks', and why
are there two separate values?
"clks
On Tue, 10 Nov 2020, Bill Gaylord wrote:
I am working on a homebrew CPU / System and want to "port" C to it. (I
already have a slightly above Assembly like language for it.)
I'm in somehow similar situation. I've an own-designed processor, what
I use on FPGA, mainly for educational purposes
On Wed, 11 Nov 2020, Bill Gaylord wrote:
I can link to my horrible google sheets for my Instruction set if that
helps at all.
Dear Bill,
SDCC needs a simulator too. To implement support in uCsim, we need as
much information as you can provide...
Daniel
___
On Thu, 3 Dec 2020, Basil Hussain wrote:
However, ucSim seems to hang when I try this! All I get is these startup
messages:
I do not have too much experience with windows, but on unix, this is
normal. This is the behavior of the pipe, not the app. When first
program opens one end of the pipe
On Fri, 4 Dec 2020, Basil Hussain wrote:
Perhaps it's possible that named pipes on Windows don't work the same
way as on unix.
I'll try to test it. You mentioned "io ninja", I'll intall it. How do
you create pipes with it?
C:\Users\Basil>sstm8 -b
uCsim 0.6
On Fri, 4 Dec 2020, Philipp Klaus Krause wrote:
There are newer builds on the snapshot page (usually about one day
behind current trunk in svn), including Windows binaries:
http://sdcc.sourceforge.net/snap.php
For a quick try, I've put current (64 bit) exe files at:
http://mazsola.iit.uni-mi
On Fri, 4 Dec 2020, Basil Hussain wrote:
I've only recently started using IO Ninja myself, so I'm certainly no expert
on it, but I played with the Pipe Server functionality:
[ ... ]
Dear Basil,
I started to read MS docs about pipes, and I suspect that I can not
fix the problem soon -- I'm bu
On Fri, 4 Feb 2022, Marc Lobelle wrote:
gmake apps
gmake[2] : on entre dans le répertoire « /opt/sdcc/sim/ucsim »
gmake -C s51.src s51.src
[ ... ]
Any idea about what is missing ? Probably an include file that is not in
the expected place ?
No, this is a linker problem. Please try following:
On Mon, 18 Apr 2022, Basil Hussain wrote:
Does ucSim simulate this accurately?
No. Wrapping is not implemented. SP is checked against a limit after
push operations, but this generates an error message only. You can set
the limit with "sp_limit=value" command, but it will not be wrapped.
st
On Thu, 21 Apr 2022, Basil Hussain wrote:
All have a stack limit, but some of them may not have the roll-over.
So, in those cases the stack pointer just stops decrementing at the limit
when there is no roll-over?
I don't know, but I don't think so. According to page 32 of RM0016, I
think R
On Fri, 22 Apr 2022, Basil Hussain wrote:
A couple of STM8L datasheets I then looked at (STM8L050 & STM8L151) *do* show
a limited stack of 512 bytes on their memory map, so one could assume that
they behave the same as the STM8S/AF. But, without parts in hand to actually
test, who really knows
On Sun, 18 Dec 2022, Basil Hussain wrote:
Benchmark wrapper assembly for code 'A':
Benchmark wrapper assembly for code 'B':
Dear Basil,
Can you send me hex of your two compiled test programs, A and B,
please?
Daniel
___
Sdcc-user mailing list
On Sun, 18 Dec 2022, Basil Hussain wrote:
Num Type Disp Hit Cnt Address Cond
1 event keep 1 1 0x00500a write
cmd="timer stop benchmark; timer get benchmark; timer set
benchmark 0; timer start benchmark; run"
Dear Basil,
In script, instead of run, you should use
On Mon, 11 Dec 2006 [EMAIL PROTECTED] wrote:
> meantime, I'm going to see if I cant get ucsim running under dosbox.
You can't, ucsim is *nix only. There is "s51 for dos" on my homepage,
but note that it is different, very old, unmaintaned, probably not
bugfree application.
Anyway, it is not to
On Fri, 29 Aug 2008, Jan Waclawek wrote:
> There _is_ a '51 simulator which comes with SDCC, but it is rather
> cumbersome to use and has a command-line interface only (read: command line,
> no text-screen). It is not intended to be used by human, rather, in an
Excuse me, but I should say that I
On Fri, 29 Aug 2008, Jan Waclawek wrote:
> OK the wording was a bit strong, I apologize.
That's OK, no problem. Sometimes GUI is more important but sometimes
CLI can be usefull too.
> Otherwise, it's a very fine simulator and I know it's a lot of work
> you put into that, just the ease of use
On Fri, 5 Sep 2008, Richard Erlacher wrote:
> I've looked through the download of ucsim, and can find no executables, nor
> do I find any source files from which to build them. What would you
> recommend as a source for these materials?
I call DOS version as `s51', and I call "UNIX" version as `
Dear SDCC,
I'm trying to compile sdcc on a system where the boost library is
outdated, and I can not upgrade it.
I've downloaded boost_1_88_0.tar.gz and unpacked into my home dir.
How can I run sdcc's configure to use it?
Daniel
___
Sdcc-user m
28 matches
Mail list logo