element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STMicroelectronics
  • Products
  • Manufacturers
  • STMicroelectronics
  • More
  • Cancel
STMicroelectronics
Forum Is This Situation Repairable
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STMicroelectronics to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 21 replies
  • Answers 17 answers
  • Subscribers 14 subscribers
  • Views 3687 views
  • Users 0 members are here
  • dso_15001k
Related

Is This Situation Repairable

jw0752
jw0752 over 8 years ago

A while back I posted a blog about building a DSO Shell 15001K Oscilloscope Kit.

 

https://www.element14.com/community/people/jw0752/blog/2017/04/25/building-the-dso-shell-15001k-oscilloscope

 

I gave one of these kits to an old friend and he called me a few days later to say that the preliminary test of the Main Board which is done before one starts assembly showed it to be failed We tried a number of diagnostics over the phone and finally I had him send the board to me My tests revealed that there was a low resistance short on the 3.3 volt rail I traced the circuit and removed smd components and cut traces to try to isolate the branch of the 3.3 volt circuit and the component that might be causing the problem Ultimately the fault was in the  STM32F103C8T6STM32F103C8T6 microprocessor I removed the microprocessor and decided that the unit was going to be just parts While I can technically replace the uP I have no way to reprogram it As I studied the schematic I noticed that there was in addition to the uP an 8 pin 24LC32A EPROM tied to the SOA and SCL pins of the uP Here is a link to the main board schematic

 

http://www.jyetech.com/Products/LcdScope/Schematic_150main.pdf

 

My question is whether there is a possibility that the program for the unit is on the EPROM and not on the uP. Would I be able to replace the fried uP with a raw one and expect it to automatically boot up from the EPROM.  At this point it is all just a learning experience but I will probably not waste my money on a uP or my time replacing it if it is impossible for the program to be on the EPROM.

 

Any insights will be appreciated.

 

John

 

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 8 years ago +8 suggested
    Hi mcb1 Jan Cumps , , gecoz , I want to thank each of you for your awesome response to my question. Based on what you have told me I am sure it will not be as easy as just replacing the uP but your insights…
  • jw0752
    jw0752 over 8 years ago +7
    This is just an update. The STM 32 microprocessor arrived today and I installed it on the board as well as all the parts I had removed to trace the original short. The chip comes with a pre-installed bootloader…
  • mcb1
    mcb1 over 8 years ago +5 suggested
    Does it still have the short. These EEprom do have a supply, and it would be very close to the uP, so it's possible. They usually are a memory for the processor. It will contain some data that is read…
Parents
  • Former Member
    0 Former Member over 8 years ago

    The STM32 micro's come with a bootloader pre-installed. This is activated by making BOOT0=1 and BOOT1=0 when the device starts up.

     

    I had to reprogram a dev board in this manner before and used the tx/rx port on a BeagleBone black to flash the program over to the STM32's 2 wire programming header.

     

    That being said, many people install a usb bootloader as a way of getting their software and updates onto the micro so you would need to make sure the code you have is for the built in bootloader and not for a user installed usb loader

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    In the schematic Jumper JP1 goes to BOOT0 and if the jumper is joined it would bring it to BOOT=1 on startup. Im betting that Jumper JP2 connects to PB2 and that pin doubles as BOOT1. Joining that jumper would bring BOOT1=0 on startup and put the device into bootloader programming mode.

     

    For many STM32, its then possible to re-program it using one of its UART ports I would check that this option is available on your device before you invest the time though. Judging by the UART header in the schematic I would think it is a possibility.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 8 years ago in reply to Former Member

    In the schematic Jumper JP1 goes to BOOT0 and if the jumper is joined it would bring it to BOOT=1 on startup. Im betting that Jumper JP2 connects to PB2 and that pin doubles as BOOT1. Joining that jumper would bring BOOT1=0 on startup and put the device into bootloader programming mode.

     

    For many STM32, its then possible to re-program it using one of its UART ports I would check that this option is available on your device before you invest the time though. Judging by the UART header in the schematic I would think it is a possibility.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • Jan Cumps
    0 Jan Cumps over 8 years ago in reply to Former Member

    You may be right, Lucie. Your explanation matches with the procedure they have in the upgrade guide. They certainly don't use a USB bootloader, it's via UART. And they mention:

    The micro-controller (STM32F103C8T6) used in DSO SHELL contains a built-in booloader. This is a small piece of firmware that can communicate with PC via serial port to write firmware into the flash ROM inside the chip.

    That would be good news.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 8 years ago in reply to Jan Cumps

    ... it requires a USB to UART converter. They are available in the market (some mentioned in the guide). They can also be made with a RPi, BeagleBone, MSP43x, ...

    Not with an Arduino UNO because it's 5V output. That would require an extra level translator.

     

    edit: on some dev boards, there's no programming needed because the UART compatible signals from USB are directly accessible and can be decoupled from the on-board microcontroller

    I have an MSP432 and MSP430F board here with a 3V3 UART that can be tapped directly. The cheaper MSP430G board has RX and TX that can be tapped. That's also enough for the setup as shown in the upgrade guide.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to Jan Cumps

    Yes I remember activating the uart on a beaglebone and then using minicom to flash the file over. I did try a USB to UART first but that never worked out for me.

     

    jw0752 If you feel confident enough to solder a new STM32 in place then its definitely worth a shot.

     

    If you do use a Raspberry Pi or similar to do the flashing, remember to add your user to the dialout group so you can access the serial ports.

    (and dont forget to remove the jumpers after programmingimage)

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 8 years ago in reply to Former Member

    Here's a USB to UART that would work from  a PC: FTDI Cable

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mcb1
    0 mcb1 over 8 years ago in reply to Jan Cumps

    Not with an Arduino UNO because it's 5V output.

    Some of the Arduino have a 5v/3v3 switch.

    I use the itead studio one for development to allow interfacing to 3v3 parts without having the extra level converters.

     

    mark

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jc2048
    0 jc2048 over 8 years ago in reply to Jan Cumps

    Here's another one that doesn't cost much - you even get a free, snap-off, PSoC 4 processor board with it!

     

    image

     

     

    It's a CY8CKIT-049-42xx but the I/O is all 5V so it would need level conversion and some of the other suggestions are probably better

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube