FLASH Memory Read/Write 🔴 PIC Microcontroller Programming Tutorial #20 MPLAB in C

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 14

  • @BinderTronics
    @BinderTronics  3 года назад

    Full playlist on the PIC microcontroller Programming ruclips.net/video/KSI6fzOPVz0/видео.html

  • @pengpleb
    @pengpleb 4 года назад +5

    You are a saint, I couldn't wrap my head around how to translate what the datasheet says to actual C code.

    • @BinderTronics
      @BinderTronics  4 года назад +1

      Don't worry I stared at the datasheet way longer than I care to admit.

  • @Abihef
    @Abihef 3 года назад +1

    This is great, i was afraid it would be another incomprehensible Indian video but then I heard the soothing ZA accent.
    Great video and information too.
    You look like a great discovery

    • @BinderTronics
      @BinderTronics  3 года назад

      Thanks had a good laugh at this. Made my day. I know exactly what you are talking about.

  • @alexapetri7200
    @alexapetri7200 5 лет назад +4

    Man, this channel is a goldmine, thank you so much!

  • @Hey_kvv
    @Hey_kvv 5 дней назад

    Hello, i am using pic24FJ256GA110 ,i have written data into internal flash memory successfully say in project 1.but when i am going to read it from same location where i have written in project 1 using project 2. it gives me junk data why?

    • @BinderTronics
      @BinderTronics  4 дня назад

      Are you flashing 2 separate projects? You are like overwriting the data that you wrote. Disable erase before flash and/or reserve a memory location for the saved data.

  • @mohammedsalihalrawi1602
    @mohammedsalihalrawi1602 3 года назад

    You are doing a great job!
    I had a question about pic16F685, how to know if the program memory space is protected and if it is not protected how to read the program memory

    • @BinderTronics
      @BinderTronics  3 года назад +1

      23:59 Clicking the read memory button will also update the configuration bits view. Found in the same place as here 10:09 . You can also click the device read at the top of the ide (the green up arrow). If the flash read bits are set then the PIC will refuse to read. Datasheet section 14.7. You can unset the bit by flashing the chip but this will erase the protected sector as well.

    • @mohammedsalihalrawi1602
      @mohammedsalihalrawi1602 3 года назад

      @@BinderTronics thanks, i will try that!

  • @mcfan1956
    @mcfan1956 3 года назад

    hi, im using a dspic. and when i did simulation on the ide, there wasnt that tiny read device memory icon. can you help me with that? thanks a lot

    • @BinderTronics
      @BinderTronics  3 года назад

      The icon won't show in simulation mode. It only show when you have a programmer like the pickit3 or pickit4 selected as the tool. If you are in simulation mode. Close Program Memory view. Compile your program. Open Program Memory view again. The memory view will then be refreshed. The simulator is not great for testing flash memory reads and writes.