Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by electroRF

  1. electroRF

    Programming question

    Thank you very much! I appreciate your help KISS and NorthGuy :-) I have a question please. I'm writing all the result into a CSV file, and open it with Excel. Do you know how I could simulate an ALT+ENTER in the CSV File, in order to write 2 lines into a single Cell? I google'd it, and...
  2. electroRF

    Programming question

    Hi, I'd appreciate your advice please. I got a huge spreadsheet which contains which classrooms where taken by which teachers on which dates: (A class room can be free on certain days, not taken by any teacher) Date Taken ----- Date Released ------ Class Room ----- Teacher 01/01/2014 -----...
  3. electroRF

    How to change direction

    Hi, I'd really appreciate getting your inputs, I've met (online) people here who are so experienced and I'd love hearing what you think. I'm 29, have been working in Hitech for the last 8 years, and am feeling it's like a continuous chase - there are many rewards, many satisfactions, but it...
  4. electroRF

    C Lib file

    Thank you very much Ian and Mike!
  5. electroRF

    C Lib file

    Hi, I have a question please regarding the C Lib (.lib) file. I have an Executable image (.bin file), which I burn it into an embedded target processor (I have a development board). I do not burn any library which are related to the image, into the processor. However, there are libraries...
  6. electroRF

    ARM's Free RTOS

    Hi, I have a (Small) Question please. I heard that ARM has developed a RTOS which is free, while it's not an Open-Source, as Free-RTOS is. What is the name of that RTOS developed and offered by ARM? Thank you.
  7. electroRF

    Pointer Casting

    Hi NorthGuy Thank you. So you're actually saying that there's no way to work it out - i.e. the function which gets 8-bit aligned pointer, can't (somehow) convert it to 32-bit aligned.
  8. electroRF

    Pointer Casting

    Hi Ian, It's a problem, since when you will perform: *Data32 Then, Some cores expect the Address pointed by Data32 to be 32-bit aligned, because *Data32 Operation fetches 32-bit. Otherwise, you'll get a Bus Exception. But the address pointed to by Data8 is only 8-bit aligned.
  9. electroRF

    Pointer Casting

    Hi, I have a question please. My function receives a char* Pointer for DATA_LOCATION, and needs to pass a unsgined int* Pointer for the same DATA_LOCATION. i.e. Input: char *Data8; Output: unsgined int *Data32; I'm afraid to do the following conversion, due to...
  10. electroRF

    Inline function question

    Thank you folks! NG What do you mean please by ignore it? Inline tells the compiler to "copy paste" the function's code to where the Caller calls it.
  11. electroRF

    Inline function question

    Hi guys, I have a question please. Say that you define an Inline Function in an H File. e.g. __inline unsigned int returnMax(int a, int b) { if (a > b) return a; return b; } If no one calls this function, will it occupy zero memory? If the Inline Function was defined as...
  12. electroRF

    Software Design Question

    Hi dear friends, I thank you very much :) I'll indeed Set / Clear a Certain Bit in the MessageID, So that by that bit, the SendMessage Function will tell whether the Designated Module / Task was moved (from Core B) to Core A, or remained in Core B. I have a Design Question on the next Step...
  13. electroRF

    Software Design Question

    Hi guys, I always love to hear your suggestions on Designs that I need to prepare and then implement. And therefore, Thank you in advance :) The situation is as follows. Core A has a SendMessage Function, which transfers a Message to Core B (the SendMessage Function simply calls a...
  14. electroRF

    struct question

    Hi Ian, Thank you very much. Thanks to your answer, I now understand that I did not phrase the question correctly. I'd like to define and initialize a structure Array as follows: STRUCT_TYPE myStruct[ ] = { {INDEX0, &gVar0}, {INDEX1, &gVar1}, ... {IndexN, &gVarN} }; and I want that...
  15. electroRF

    struct question

    Hi, I want to define struct (in C), which will have n items, each item is composed of an index (Unsigned int) and a pointer. I'd like to initialize the struct upon definition, so that: - 1st Item will have an index equal to 0, and an address &globalVar0, - 2nd Item will have an index equal...

Latest threads

New Articles From Microcontroller Tips

Back
Top