Jump to content

the becoming of a MIOS C Programmer


Wisefire

Recommended Posts

hi guys,

different kind of story now.. not actually a project as more as a learning experience.

i thought it would make for an interesting read for new programmers (like myself)

or at least a seperate topic for my neverending questions..

today ive downloaded 4 files..

the installer for GPutils

the installer for SDCC

the skeleton provided by TK for SDCC

and a file which may help me with multiplications and divisions.. appearantly that isnt supported.. its called mios_libsdcc_v2_5_0.zip

all this can be found in the menu under C interface..

ive installed the installers and when asked to put something in PATH.. i said yes.. so im thinking now that im all set.. so im gonna explore that skeleton now..

Link to comment
Share on other sites

well.. uploading and building seem to work..

ive made my first hello world program.. and ive edited "hello world" to say something else.. nice..

but now im trying to get the DIN working.. ive tried the example found here http://www.ucapps.de/mios_c_send_din.html

but that didnt work.. so now either the program is wrong.. or the DIN is plugged in wrong..

hmmz.. what would it be..

Link to comment
Share on other sites

Hi Wisefire,

you might take at look at Stryd_one's user page. He has a pretty good documentation/tutorial about Code:Blocks, an open source IDE, together with the integration of the mios_debug stuff (you can use it with a graphical debugger). If you start programming, this might be of some interest to you, because 75% of all problems are somehow code related. With a graphical debugger, you can easily inspect values of variables without having to send the code to the chip and wondering where to find the problem ;)

Cheers,

Michael

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...