Not a mopar - 2002 Trailblazer question

Thanks guys. Relearning the pcm and a new battery without a dead cell has helped the startup and idle issues but now I'm chasing a bad coil. No idea really what helped the original problem. Dirty connection maybe.