Titanium ASC1 or ASC-1 Software Update Attempt

Caught it!
Just a bit ago I had an ASC-1 on the bench for testing. The ULN2003A 50V 7-ch darlington transistor array was replaced.
It was responsible for controlling the h-bridge signal from the MCU to the relays. No motor switching and the resulting motor/sensor failure.
Good fix. And setting on the bench on and idle.

The power flickered. When the juice came back on I noticed that my actuator was fully extended to the limit switch. That's a touch past 34 W.
I was freaked that the IC repair was a bust. In fact the mover fired up on it's own after the power glitch.
The receiver it was hooked up to was set for 55 W. The ASC-1 display showed that the counter was driven to "find" 55 W.
Curious, I sent the mover West. When it reached 0000. Signal came is strong. 55 W position stored in memory was 2750.
So I tuned the receiver to 127 W which is the 0000 reference. Then drove the dish negative 2750. 127 W signal popped in and was damned near perfect as far as signal strength.
So then I went to the resets menu and reset the position. 127 W then showed 0000. Drove it back to 55 W and all was cool.
This is the first time I actually caught and figured out what was happening.
All positions were stored correctly still. And I used a saved ASC-1 Loader file to lookup what positions were what.
So, there you have it.

EB. Trying to latch on to the logic. If East increases counts and West Decreases them. Same as me.
If the last dish movement was East. Triggering the sensor input manually will increase the counts? And opposite if the last movement was West?
My findings are that you always lose counts. Only if there is spurious noise in the sensor cable or a ratty reed switch with bouncy, noisy contacts could you gain counts.
A bit of "tuning" of the trigger voltage at the sensor input to lower the trip threshold has helped.
Depending on the length of sensor cable, the optocoupler seems to be saturated most of the time the reed contacts are closed.. Is it 12 V? Need to check that. Dropping the voltage of the LED in the opto. with a resistor divider as shown would shape the pulse to the MCU:
1795505358921.webp
Because I'm using an opto interuptor as my trigger with a 20 slot wheel at the output gear on the actuator. Positioning is rather accurate.
But initial testing showed fat, saturated pulses at the sensor inputs. Adding a voltage divider resistor after finding the resistance with a pot wired as a variable voltage divider. I was able to get very nice and equal duty cycle pulses.

If anyone is still tuned in. I'd be interested in finding out how many dead ASC-1's y'all have out there.
Besides the 2 working ones, I have 3 others that required replacing the NXP MC9S08 MCU. They sit blank and unprogrammed.
I bought the specific programmer for them. Not cheap. If I mind my manners I may be able to get what is needed to program them.
Making bricks a thing of the past. Botched firmware updates No problem. What? Shipping both ways, parts, solder and flux, IPA and Q-Tips.
Only the guts would be needed. Saving a lot on just shipping for that heavy sob.
Lets see....
 
I appreciate the comments. The problems you describe have already been addressed and described in detail in the first page of this thread in Version CF10.

Your report is from stock firmware, and we already addressed the position-loss problem. Our firmware saves the live actuator count in a checksummed EEPROM ring and restores it at boot. CF10 also boots parked at Welcome and ignores DiSEqC during the initial power-up window.

in CF10, Triggering the sensor input manually will increase the counts Or manually decrease the counts, depending on direction selected last.. This is tested and proven. It may also happen in stock firmware, but that was not investigated. If it does happen in stock firmware, the onscreen counter ignores it while the software records it.

My mid-move power-cut test verified that behavior on the dish. CF10 restored −248, two counts behind the last reported −246, and stayed parked until the DreamOne sent a fresh GOTO.

You can mess with hardware all day, but if the firmware needs edits or has defects, hardware adjustments will not help much.

And you cannot fix hardware defects with software. You may gloss or paste over them, but that is all....

Defects are defects. If the defects are not eliminated, then you still have defects. Software or hardware.

What's the full part number printed on the MCU and the make and model of your programmer. The firmware’s memory map matches the MC9S08PA60, but the chip marking should confirm it.
 
The attached ZIP is for the three ASC-1 boards where you’ve already replaced the MCU and the new chip is sitting there blank. The first test can be done on one of those boards with the programmer you bought. You can do the whole job from a PC without a Dreambox, plugin, or Python.

On a working ASC-1, there’s a small program in the chip called the bootloader. That’s what listens on the rear RS-232 port when you send a firmware update. A blank replacement chip has nothing there to answer the Loader. The ZIP gives you a file that puts both the bootloader and the ASC-1 operating firmware into the chip in one pass.

Here’s how I’d try the first board:
  1. Confirm the chip and programmer. The files were made for the MC9S08PA60. Please post the full marking on one replacement chip and the make and model of your programmer. That lets us confirm the match and give you the settings for the tool you actually own.
  2. Program one blank chip. Once we confirm the match, unzip the package and open the images folder. For a first test with the familiar Titanium firmware, I’d use ASC1-stock-fullchip.s19. Open that file in the chip programmer’s software, select the matching target, then program and verify it through the board’s BDM programming connection. If you want to start directly with our CF11 firmware, use ASC1-cf11-fullchip.s19 instead. Pick one file. Each is complete.
  3. Watch the first power-up. The expected front-panel message is “Updating Bootloader.” Let it finish, then switch the ASC-1 off and back on. This full-chip package has been tested in a simulator only. The first real test is whether that board starts up again and talks to your PC Loader.
  4. Put your saved positions back. The satellite table starts empty. Connect your usual RS-232 cable, open the ASC-1 Loader, and go to Satellite Setting → Read From File. Open your saved list, then choose Save To Device. Your list tells the controller that 55°W belongs at count 2750 on your dish. You still have to tell it where the dish is sitting now. On your installation, that means confirming the dish is physically at 127°W, resetting the position count there to 0000, and setting the east and west limits before using automatic moves.
The matching .bin files are copies of the same full-chip images in another format. The .s19 is the one to open in the chip programmer. The loose README is also inside the ZIP, and the Python files are for building and testing the images. Once the board boots and communicates, later firmware updates go through the normal RS-232 process.

Try it and see No guarantees.

Note:
On your Windows PC, right-click the ZIP and choose Extract All. You can skip the dev and meta-local folders. The Python scripts in there were used to prepare and test the firmware.

The folder you want is images. Once the number on your replacement chip is confirmed and the model of your programmer, open the programmer’s Windows software and use its file-open command to select ASC1-stock-fullchip.s19 for the Titanium firmware, or ASC1-cf11-fullchip.s19 for CF11. You only need one. Open it from inside the programmer software.

Your familiar ASC-1 Loader comes into play after the programmed board boots. That’s when you reconnect the RS-232 cable and send your saved satellite list back to the ASC-1.
 

Attachments

Back
Top