Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Embedded Data

Embedded Data

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++hardware
16 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T toxcct

    can you please indicate the procedure to buy a scalpel and how I can use it in C++ with a chip please. thx, it's urgentzzzzz

    [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #6

    Ready-to-use code at www.cpallini.freeproductz.com[^] :-D

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    H 1 Reply Last reply
    0
    • C claman

      What is the best way to embed hard data directly to a chip (preferably using C++)?

      C Offline
      C Offline
      claman
      wrote on last edited by
      #7

      Ok, say i have an int array[10] that is populated with data. So at max i will have 32 * 10 = 320 bits. Then i have to take those 40Bytes of data and "download" it to an embedded chip (completely independent of a PC and its OS). Is there a c++ api that will allow me to embed a chip with the data?

      T B 2 Replies Last reply
      0
      • C claman

        Ok, say i have an int array[10] that is populated with data. So at max i will have 32 * 10 = 320 bits. Then i have to take those 40Bytes of data and "download" it to an embedded chip (completely independent of a PC and its OS). Is there a c++ api that will allow me to embed a chip with the data?

        T Offline
        T Offline
        thebeekeeper
        wrote on last edited by
        #8

        USB HID sounds like the closest thing you'll find to this. Or just sending bytes through the parallel port. When you get to that low level, there's really nothing that's independent of a PC and its OS. Also, looking for a C++ api for this kind of thing is sort of a dead end. You have to program for the embedded chip you're working with. Hopefully whoever made this chip would have also created a way to send data to it. If it's a microcontroller that has some flash memory, there's probably a SPI interface.

        1 Reply Last reply
        0
        • C CPallini

          Ready-to-use code at www.cpallini.freeproductz.com[^] :-D

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #9

          I think your magic site is very helpful here. :)

          C 1 Reply Last reply
          0
          • C claman

            Ok, say i have an int array[10] that is populated with data. So at max i will have 32 * 10 = 320 bits. Then i have to take those 40Bytes of data and "download" it to an embedded chip (completely independent of a PC and its OS). Is there a c++ api that will allow me to embed a chip with the data?

            B Offline
            B Offline
            Bram van Kampen
            wrote on last edited by
            #10

            What you realy need is an eprom programmer. That's a piece of hardware you buy in Radio Shack etc. That normally comes with it's own interface, instructions, manuals, methods, etc. Some 30 years ago they provided a service where for a fee, they would sell you the chips with your data 'blown' in. you sent them your data in a hex-file on a floppy. I've no idea if that kind of service is still available. Success, :)

            Bram van Kampen

            1 Reply Last reply
            0
            • H Hamid Taebi

              I think your magic site is very helpful here. :)

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #11

              Hamid. wrote:

              I think your magic site is very helpful here.

              Indeed. :-D OT: Hamid it has been a long time since I saw one of your posts, how do you do? :)

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              H 1 Reply Last reply
              0
              • C CPallini

                Hamid. wrote:

                I think your magic site is very helpful here.

                Indeed. :-D OT: Hamid it has been a long time since I saw one of your posts, how do you do? :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #12

                I had a good trip,I decided to see some eparchys in iran of north till center,it was very good,two different weathers at north eparchys weather was rainy and humid,rainy is not problem but humid was very bad (and my camera is ruined now)but it's great and verdurous,at center weather was very hot and dry but I think my city is better than of them you can see famous historical mosques, and bridges in this city and it has beautiful paintings,valuble carpets and handiwork,I believe isfahan and italia are near together.BTW did you read this book Italia ed esfahan(angelo michele PIEMONTESE). ;)

                C 1 Reply Last reply
                0
                • H Hamid Taebi

                  I had a good trip,I decided to see some eparchys in iran of north till center,it was very good,two different weathers at north eparchys weather was rainy and humid,rainy is not problem but humid was very bad (and my camera is ruined now)but it's great and verdurous,at center weather was very hot and dry but I think my city is better than of them you can see famous historical mosques, and bridges in this city and it has beautiful paintings,valuble carpets and handiwork,I believe isfahan and italia are near together.BTW did you read this book Italia ed esfahan(angelo michele PIEMONTESE). ;)

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #13

                  I'm very glad you had wonderful holidays in Iran. I haven't read that book (it is the very first time I hear about it: unfortunately I read almost only technical stuff!). :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  H 1 Reply Last reply
                  0
                  • C CPallini

                    I'm very glad you had wonderful holidays in Iran. I haven't read that book (it is the very first time I hear about it: unfortunately I read almost only technical stuff!). :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #14

                    So you are a professinal man in computer. :)

                    C 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      So you are a professinal man in computer. :)

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #15

                      Nope, I said: "I read technical stuff" (never said I understand it). :laugh:

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      H 1 Reply Last reply
                      0
                      • C CPallini

                        Nope, I said: "I read technical stuff" (never said I understand it). :laugh:

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        H Offline
                        H Offline
                        Hamid Taebi
                        wrote on last edited by
                        #16

                        ;)

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups