Go to advanced search

by DexOS
Mon Dec 02, 2013 9:09 pm
Forum: Bare metal, Assembly language
Topic: Hello World!
Replies: 9
Views: 2901

Re: Hello World!

RealProgrammer wrote:Well, both of those use an OS - (I presuming including a kernal is a strong sign of that).

And what is the default name of the file that is loaded from the SD card called :roll:
by DexOS
Mon Dec 02, 2013 6:10 pm
Forum: HATs and other add-ons
Topic: Help with serial comms between the Pi and GertDuino [SOLVED]
Replies: 10
Views: 5239

Re: Help with serial comms between the Pi and GertDuino 328

Did you set " Flow Control: None" in minicom as i had a problem with that some time ago.
by DexOS
Mon Dec 02, 2013 5:49 pm
Forum: Bare metal, Assembly language
Topic: Hello World!
Replies: 9
Views: 2901

Re: Hello World!

DexBasic included DexOS so that's no good, but Peter Lemon did a very good example see here: https://github.com/PeterLemon/Raspberry ... oWorld/CPU
by DexOS
Sun Dec 01, 2013 5:15 pm
Forum: Bare metal, Assembly language
Topic: Is it possible to reverse engineer the Pi with ASM?
Replies: 26
Views: 6761

Re: Is it possible to reverse engineer the Pi with ASM?

Very much respect and many thanks to Jamesh for his lead to: https://github.com/hermanhermitage/videocoreiv/wiki/VideoCore-IV-Programmers-Manual https://github.com/hermanhermitage/videocoreiv-qpu You obversely did not read all the posts You may find this link interesting https://github.com/hermanhe...
by DexOS
Fri Nov 29, 2013 5:29 pm
Forum: Bare metal, Assembly language
Topic: bare metal programming in c/c++ ?
Replies: 8
Views: 5170

Re: bare metal programming in c/c++ ?

topguy wrote:Disclaimer: I'm no Bare Metal expert, correct me if I'm wrong
:lol:
by DexOS
Thu Nov 28, 2013 1:54 pm
Forum: Bare metal, Assembly language
Topic: Is it possible to reverse engineer the Pi with ASM?
Replies: 26
Views: 6761

Re: Is it possible to reverse engineer the Pi with ASM?

You may find this link interesting https://github.com/hermanhermitage
Maybe more for HOW they did it.
by DexOS
Wed Nov 27, 2013 1:17 pm
Forum: Bare metal, Assembly language
Topic: Forth Operating System with Baking Pi roots.
Replies: 43
Views: 9785

Re: Forth Operating System with Baking Pi roots.

Hi you all, I have abandon rpiForth on Bare Metal some time ago. I burned me out with the primitive development cycle. I destroyed one Raspberry Pi and about 15 SD roms. I moved most of the work on to my BeagleBone Black (BBB) and put it under Linux and call it rForth. Changing the key input and ch...
by DexOS
Tue Nov 26, 2013 6:39 pm
Forum: Bare metal, Assembly language
Topic: Forth Operating System with Baking Pi roots.
Replies: 43
Views: 9785

Re: Forth Operating System with Baking Pi roots.

You can try this as a temp method, go back to the settup that worked and than turned its self off. Boot up and then turn your monitor off, i left this off for about 20mins, then it worked fine when i turned it on until i rebooted. Don said he will try to find the problem and fix it, if people send h...
by DexOS
Tue Nov 26, 2013 12:29 pm
Forum: Bare metal, Assembly language
Topic: Forth Operating System with Baking Pi roots.
Replies: 43
Views: 9785

Re: Forth Operating System with Baking Pi roots.

bradder555 wrote:I had this working on RevB
What was the date of the firmware you was using ?
by DexOS
Mon Nov 25, 2013 10:32 pm
Forum: Bare metal, Assembly language
Topic: Forth Operating System with Baking Pi roots.
Replies: 43
Views: 9785

Re: Forth Operating System with Baking Pi roots.

The problem is something to do with the new firmware and the usb driver (csud). You could try the old firmware (bootloader files), but they may not work with latter pi (B model). You can get old firmware in this zip (part of my OS), see boot folder http://www.dex-os.com/DexBasic/DexBasic.zip This pr...
by DexOS
Sat Nov 23, 2013 1:55 pm
Forum: Off topic discussion
Topic: x86 CPU development boards 86DUINO
Replies: 40
Views: 13500

Re: x86 CPU development boards 86DUINO

That's very cool, is there a suppler in the UK ?.
This is DexOS (my OS) running on a Vortex86EX Processor

http://www.youtube.com/watch?v=mYJx2zZK7c8
by DexOS
Sat Nov 23, 2013 1:06 pm
Forum: General discussion
Topic: Request for ultra low power pi
Replies: 51
Views: 14552

Re: Request for ultra low power pi

This is where i think a bare metal OS, has a big advantage over OS like linux.
It would make a great compo in the bare metal part of the forum.
The winner would be the one that got a Model A to last the longest on a set of batteries and flash a led etc. :idea:
by DexOS
Fri Nov 22, 2013 4:04 pm
Forum: Bare metal, Assembly language
Topic: FatFs - Generic FAT File System Module
Replies: 16
Views: 4473

Re: FatFs - Generic FAT File System Module

Did you get the multiple block read working? I'm also using jcn's code, but CMD18 always fails... i've found a work around, in diskio.c i check if count > 1 then i do multiple single block read, as DexOs does. but this is quite slow, reading a file that's around 1.1MB takes aproximatly 10 seconds.....
by DexOS
Fri Nov 22, 2013 2:04 pm
Forum: Bare metal, Assembly language
Topic: Forth Operating System with Baking Pi roots.
Replies: 43
Views: 9785

Re: Forth Operating System with Baking Pi roots.

I have made some changes to get rpiForth working on my Pi. Take a look at my pull request: https://github.com/aviatorRHK/rpiForth/pull/1 After those changes you only need to copy: bootcode.bin config.txt kernel.img libcsud.a start.elf to your sd card as it works with the latest firmware although yo...
by DexOS
Wed Nov 20, 2013 9:16 pm
Forum: General discussion
Topic: 2 Million Pi sold, how many..
Replies: 8
Views: 1148

Re: 2 Million Pi sold, how many..

Bah humbug, the question is not what operating system or language you have used with your Raspi. No, the question is: What interesting thing have you done with your Pi? After that we can talk about the details. Well a interesting thing i have done (or should that be doing) with the PI, is coding a ...
by DexOS
Tue Nov 19, 2013 1:00 pm
Forum: Bare metal, Assembly language
Topic: problem with malloc function
Replies: 12
Views: 3477

Re: problem with malloc function

another question, why is there a USB driver in memory, as i thought we had to write it ourselves, since we operate in baremetal? Thanks a lot, Allexoll Its a USB driver by Alex Chadwick, that a lot of RPI bare metal coders use for key input. But it's loaded around about the address your having prob...
by DexOS
Mon Nov 18, 2013 9:45 pm
Forum: Bare metal, Assembly language
Topic: problem with malloc function
Replies: 12
Views: 3477

Re: problem with malloc function

I have very little understanding of the C programming language. But i have found there is small chunks of memory that cause a reset if you read/write to them, dotted around memory. For example on my 256 mb RPI there a place at about 30 MB. I am not sure why this is, but i can demo it, if anyone int...
by DexOS
Mon Nov 18, 2013 6:06 pm
Forum: Bare metal, Assembly language
Topic: problem with malloc function
Replies: 12
Views: 3477

Re: problem with malloc function

I have very little understanding of the C programming language. But i have found there is small chunks of memory that cause a reset if you read/write to them, dotted around memory. For example on my 256 mb RPI there a place at about 30 MB. I am not sure why this is, but i can demo it, if anyone inte...
by DexOS
Sun Nov 17, 2013 1:10 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

OK, i tested it with 3 different mouse and all i get is
17 0 0

Hope this helps.
by DexOS
Sun Nov 17, 2013 12:30 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

I think you have made a mistake in the attached zip is a txt file with a img extension /****************************************************************************** * kernel.ld * by Alex Chadwick * * A linker script for generation of raspberry pi kernel images, with C * code. *********************...
by DexOS
Sat Nov 16, 2013 8:13 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

Have you tried zipping it ?
by DexOS
Sat Nov 16, 2013 7:52 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

When you reply to a message, you should see
"Upload attachment" underneath "Options"
Click on it and click browse and find your kernel.img and click open
The file needs to be smaller than 2 MB
by DexOS
Sat Nov 16, 2013 5:34 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

Your welcome, If you can post a kernel.img, i will give my mouse's a try.
by DexOS
Sat Nov 16, 2013 1:44 pm
Forum: Bare metal, Assembly language
Topic: BakingPi activating the Mouse Driver
Replies: 28
Views: 4485

Re: BakingPi activating the Mouse Driver

I am not sure if it will help as i do not used the mouse part of the code, but i have read that its very picky about the mouse you use.
Some do not work at all, others give random data and other work.
Have you tried with different mouse plugged in ?.
by DexOS
Sat Nov 16, 2013 11:38 am
Forum: Bare metal, Assembly language
Topic: Test your compilers!
Replies: 37
Views: 7123

Re: Test your compilers!

I think this comment is a bit unfair, the "primitive macro" was designed to help beginners, in the same way as a basic interpreter was. It was in no way meant to be optimized for speed or size. I believe when teaching asm the code should be easy to understand, rather than the most optimized. Sorry ...

Go to advanced search