21
mngr
7y

Short story for the one interessed in the image: when we change idea we change the whole idea. And it is likely to happen very often. Sometimes twice a day, every day, for a week.
Long stort:
I am hopeless:
I am an IT university student, i know how to program and how to search for a fucking manual, but i am dealing with eletronics and PCB...

I have to make the firmware for a board (atmel things) and it have to talk via spi with some other devices (it is slave of one, and master for all the others(i will use two spi channels)), this should be easy...
I am have no senior to ask to, all i have is google and i found problems in every thing i try to do, every - fucking - single - one!!!! I know that the solution is always of the "you have to plug it in" type, but
NEITHER GOOGLE IS BEING OF HELP!
Let me explain this morning pain:
i can't add libraries in atmel studio, something wrong with the asf wizard, i have only found a tutorial that says what buttons press to solve my problem... I DO NOT HAVE THIS BUTTONS!!!
And the library i wanted to add is the one to make the board talk with the computer on his COM port... (And have some debug message...)
And the wizard gives problem because i created the project using an online atmel tool...
YES, i tried to create a project with asf and then add the files given by the online tool.... THEY DO NOT COMPILE, I SHOULD HAVE TO MESS WITH A 400 LINES LONG MAKEFILE, that is anything but human readable...
I haven't even look for anything spi related this morning
I am even forced to use windows, because every question in the forums, or every noobbish tutorial is based on it...

And then i find the tutorial with the perfect title, holy shit this is the thing i truly need!!!!! It says how to open a file. And then stops. WHAT ABOUT THE THING YOU WERE TALKING ABOUT IN THE TITLE??????

This project is the upgrade of a glue-pump based on an atmega328 (arduino uno processor), that is currently being produced and sold by our "company" .... .... That is composed by me and the boss.
He is a very nice and and smart person, he tries to give me ideas for the solution, if i cannot find out how to do something we can even change a lot of specifics of the project (the image shows our idea-change) and every board has some weeks of mornings like the one described above (i work only in the morning).
I am learning a very lot of things...
But the fact that every thins i try fails is destroying me, what would you do in my place?

Ps. Lot lf love for the ones who made it until the end <3

Comments
  • 3
    oh yeah. embedded systems is fucking messy. try writing the library yourself, like not frm scratch but see how the one you downloaded was made and take out the parts you need.
  • 2
    Come on man, 'I' should be capital.
  • 1
    @Fydrenak I know, sometimes I just forgot, in any case, do you know why i should be capital?
  • 1
    @bananataco I will try mailing the atmel people, doing it by myself is only the last choise
    News: I realized atmel studio has a debugger, toworrow i will try to use it
    Despite I still don' t know how to use both the library and the online tool...
  • 1
    @hausen I am a young guy who is doing things for the first time, and has no guide, even if in theory I am trying to do easy things.
  • 2
    @mngr I can feel your pain. Was in similar state.. I was using Atmel ARM7 to program UART, SPI, ADC etc drivers.. I started with no seniors to guide me and no experience in either coding or prototype uC(like Arduino). It took me 6 months to finish the first UART driver wid 1 of my frnd together. I did this for around 1.5 yrs during my 2nd and 3rd year of college. I was using Keil IDE, Oscilloscope, and Atmel JTAG debugger. Later, I started with Arduino to prototype every program statement I had to understand the functionalities and then code for ARM7. By my experience, I learnt that if you understand the library, pins and memory pattern of any Atmel architecture, u can easily code for other architectures. After ARM7, I found ARM A5 almost similar basic code structure..
Add Comment